Commit 5873c74
ci(publish-npm): upgrade npm so OIDC Trusted Publishing works
npm OIDC Trusted Publishing requires npm >= 11.5.1, but the publish job
runs on Node 20 which bundles npm 10.x. On npm 10 the OIDC publish step
signs provenance but cannot authenticate tokenlessly, so it falls through
to an unauthenticated publish and fails with E404 ("not in this
registry"). Install npm@latest after setup-node, before the publish
steps, so the OIDC path can actually authenticate.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 6a806c0 commit 5873c74
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
| |||
0 commit comments