Commit 9bd28e7
ci: upgrade npm to latest in publish job for Trusted Publisher OIDC
The npm 10.x that ships with Node 20 doesn't support Trusted Publisher
OIDC auth (requires npm 11.5.1+). Bump to Node 22 and explicitly install
npm@latest before publishing. The previous run produced a misleading
404 from the registry because npm returns 404 (not 403) when OIDC auth
fails on an existing package.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3f92381 commit 9bd28e7
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments