File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,22 +20,33 @@ jobs:
2020# run: npm run test:
2121
2222 publish :
23-
2423 runs-on : ubuntu-latest
24+ permissions :
25+ contents : write
26+ issues : write
27+ pull-requests : write
28+ id-token : write
2529 steps :
26- - uses : actions/checkout@v2
27- - uses : cycjimmy/semantic-release-action@v2
30+ - uses : actions/checkout@v4
31+ - uses : actions/setup-node@v4
32+ with :
33+ node-version : 20
34+ registry-url : ' https://registry.npmjs.org'
35+ - uses : cycjimmy/semantic-release-action@v4
2836 with :
29- semantic_version : 19
37+ semantic_version : 24
3038 branches : |
3139 [
3240 'next',
3341 'v2'
3442 ]
43+ extra_plugins : |
44+ @semantic-release/changelog
45+ @semantic-release/git
3546 id : semantic
3647 env :
3748 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
49+ NPM_CONFIG_PROVENANCE : true
3950 - if : steps.semantic.outputs.new_release_published == 'true'
4051 run : |
4152 echo ${{ steps.semantic.outputs.new_release_version }}
You can’t perform that action at this time.
0 commit comments