File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 2020 with :
2121 node-version : ' 20'
2222
23+ - name : Update npm and configure
24+ run : |
25+ npm install -g npm@latest
26+ echo "npm version: $(npm --version)"
27+ echo "node version: $(node --version)"
28+ echo "OIDC URL set: ${ACTIONS_ID_TOKEN_REQUEST_URL:+yes}"
29+ cat ~/.npmrc 2>/dev/null || echo "No .npmrc"
30+
2331 - name : Setup Bun
2432 uses : oven-sh/setup-bun@v2
2533 with :
4856
4957 - name : Publish to npm
5058 if : steps.version.outputs.changed == 'true'
51- run : npm publish --access public --provenance
59+ run : |
60+ # Ensure no auth config exists (let npm use OIDC)
61+ rm -f ~/.npmrc
62+ npm publish --access public --provenance
5263
5364 - name : Create GitHub Release
5465 if : steps.version.outputs.changed == 'true'
You can’t perform that action at this time.
0 commit comments