File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,20 +26,38 @@ jobs:
2626 runs-on : ubuntu-latest
2727 needs : test
2828 if : github.ref == 'refs/heads/master'
29+ permissions :
30+ contents : write
31+ issues : write
32+ pull-requests : write
33+ id-token : write
2934 steps :
30- - uses : actions/checkout@v1
35+ - uses : actions/checkout@v5
36+ - name : set node.js 24
37+ uses : actions/setup-node@v6
38+ with :
39+ node-version : 24
40+ registry-url : https://registry.npmjs.org
41+ - name : Use npm with trusted publishing support
42+ run : npm install -g npm@11.13.0
43+ - name : Show release tool versions
44+ run : |
45+ node --version
46+ npm --version
47+ npm config get registry
3148 - name : npm install
3249 run : npm install
3350 - name : npm run build
3451 run : npm run build
3552 - name : Release
36- uses : cycjimmy/semantic-release-action@v2
53+ uses : cycjimmy/semantic-release-action@v6
3754 with :
38- semantic_version : 19
3955 extra_plugins : |
56+ @semantic-release/npm@13.1.5
4057 @semantic-release/changelog
4158 @semantic-release/git
42- branch : master
59+ branches : master
4360 env :
4461 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
62+ DEBUG : semantic-release:*,@semantic-release/npm:*
63+ NPM_CONFIG_LOGLEVEL : verbose
You can’t perform that action at this time.
0 commit comments