File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010jobs :
1111 runCI :
1212 uses : ./.github/workflows/CI_PR_merge_checks.yml
13+
1314 releaseAndBumpVersion :
1415 needs : runCI
1516 name : Publish the package
1617 runs-on : ubuntu-latest
1718
19+ permissions :
20+ contents : write
21+ id-token : write
22+
1823 steps :
19- - uses : actions/checkout@v2
24+ - uses : actions/checkout@v4
25+ with :
26+ fetch-depth : 0
2027
2128 - name : Use Node.js 20
22- uses : actions/setup-node@v1
29+ uses : actions/setup-node@v4
2330 with :
2431 node-version : 20
2532 registry-url : https://registry.npmjs.org/
2633
34+ - name : Upgrade npm CLI for trusted publishing
35+ run : npm i -g npm@^11.5.1
36+
2737 - name : Configure Github credentials
2838 run : |
2939 git config --global user.name "Github"
3949 npx semantic-release
4050 env :
4151 HUSKY : 0
42- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4352 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments