Commit 964f55f
sergey-ermakovich
Fix the npm job so OIDC trusted publishing actually runs
Node 22 ships npm 10.9.8, which predates OIDC publishing (added in npm 11.5.1), so the job could not authenticate whatever the registry was configured with. Moves to Node 24, upgrades npm explicitly, and drops registry-url because setup-node was writing an .npmrc with a placeholder auth token that npm preferred over OIDC.1 parent 230ddda commit 964f55f
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | | - | |
39 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
40 | 50 | | |
41 | 51 | | |
42 | 52 | | |
| |||
0 commit comments