File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -12,24 +12,25 @@ jobs:
1212 contents : write
1313 issues : write
1414 pull-requests : write
15+ id-token : write # to enable use of OIDC for trusted publishing and npm provenance
1516 steps :
1617 - name : Checkout
17- uses : actions/checkout@v4
18+ uses : actions/checkout@v6
1819 with :
1920 fetch-depth : 0
20- token : ${{ secrets.GH_WEB_SHIM_PUSH_TOKEN }}
21+ token : ${{ secrets.GH_PUSH_TOKEN }}
22+
2123 - name : Setup Node.js
22- uses : actions/setup-node@v4
24+ uses : actions/setup-node@v6
2325 with :
2426 node-version : ' lts/*'
25- registry-url : ' https://registry.npmjs.org '
27+
2628 - name : Install dependencies
2729 run : npm ci
30+
2831 - name : Release
2932 env :
30- GITHUB_TOKEN : ${{ secrets.GH_WEB_SHIM_PUSH_TOKEN }}
31- NODE_AUTH_TOKEN : ${{ secrets.NPM_WEB_SHIM_PUSH_TOKEN }}
32- NPM_TOKEN : ${{ secrets.NPM_WEB_SHIM_PUSH_TOKEN }}
33+ GITHUB_TOKEN : ${{ secrets.GH_PUSH_TOKEN }}
3334 run : |
3435 npx -p semantic-release \
3536 -p @semantic-release/changelog \
You can’t perform that action at this time.
0 commit comments