Commit 0047290
fix: install latest npm for trusted publishing (#7)
* fix: remove registry-url from setup-node to enable npm trusted publishing
setup-node with registry-url creates .npmrc with an empty NODE_AUTH_TOKEN,
which prevents npm from using OIDC for authentication.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: install latest npm for trusted publishing OIDC support
Node 20's bundled npm is too old to support OIDC-based trusted
publishing. Installing npm@latest enables token-free publishing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5066551 commit 0047290
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
0 commit comments