File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1818 - ' major'
1919 default : ' patch'
2020permissions :
21- contents : write
22- id-token : write
21+ id-token : write # Required for OIDC
22+ contents : read
2323
2424jobs :
2525 publish-on-npm :
2626 runs-on : ubuntu-latest
2727 steps :
2828 - name : Checkout
29- uses : actions/checkout@v3
29+ uses : actions/checkout@v4
3030
3131 - name : Setup environment
3232 uses : actions/setup-node@v4
3333 with :
34- node-version : 20
35- registry-url : https://registry.npmjs.org/
34+ node-version : ' 24 '
35+ registry-url : ' https://registry.npmjs.org'
3636
3737 - name : Versionate
3838 run : |
4545
4646 - name : Publish to NPM
4747 # This command uses the GitHub OIDC token automatically
48- run : npm publish --provenance --access public
49- env :
50- NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH }}
48+ run : npm publish
5149
5250 - name : Create PR
5351 uses :
peter-evans/[email protected]
You can’t perform that action at this time.
0 commit comments