File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 99env :
1010 NX_SELF_HOSTED_REMOTE_CACHE_ACCESS_TOKEN : ${{ secrets.NX_SELF_HOSTED_REMOTE_CACHE_ACCESS_TOKEN }}
1111 NX_SELF_HOSTED_REMOTE_CACHE_SERVER : ${{ secrets.NX_SELF_HOSTED_REMOTE_CACHE_SERVER }}
12- NODE_AUTH_TOKEN : ${{ secrets.NPM_ACCESS_TOKEN }}
1312
1413jobs :
1514 publish :
5958 run : pnpm exec nx report
6059
6160 - name : Setup NPM
62- run : echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> .npmrc
61+ # Ensure npm 11.5.1 or later for trusted publishing
62+ run : echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> .npmrc && npm install -g npm@latest
6363
6464 - name : Publish packages
6565 run : pnpm exec nx release publish --access public
66- env :
67- NPM_CONFIG_PROVENANCE : true
68- GITHUB_TOKEN : " ${{ github.token }}"
You can’t perform that action at this time.
0 commit comments