File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 permissions :
1111 contents : read
12- id-token : write
12+ id-token : write # Required for OIDC
1313 steps :
1414 - uses : actions/checkout@v5
1515 - uses : actions/setup-node@v4
1616 with :
1717 node-version : ' 22.x'
1818 registry-url : ' https://registry.npmjs.org'
1919
20+ # Ensure npm 11.5.1 or later is installed
21+ - name : Update npm
22+ run : npm install -g npm@latest
23+
2024 - name : Install Dependencies
2125 run : yarn install --frozen-lockfile --ignore-scripts
2226
2327 - name : Publish to NPM (beta)
2428 if : ' github.event.release.prerelease'
25- run : npm publish --provenance --access public --tag beta
26- env :
27- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
29+ run : npm publish --access public --tag beta
2830
2931 - name : Publish to NPM (stable)
3032 if : ' !github.event.release.prerelease'
31- run : npm publish --provenance --access public
32- env :
33- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
33+ run : npm publish --access public
You can’t perform that action at this time.
0 commit comments