Commit ed0ecc2
committed
fix(release): upgrade npm for the OIDC token exchange
The first v1.4.7 run died with ENEEDAUTH: pnpm delegates the actual
tarball upload to the npm CLI, and the trusted-publishing OIDC exchange
happens in that subprocess — Node 22's bundled npm 10.x predates the
feature entirely. Install npm ^11.5.1 before publishing.
Also drop setup-node's registry-url (and the empty NODE_AUTH_TOKEN):
its generated .npmrc auth placeholder is exactly the config trusted
publishing wants absent.1 parent 8f12664 commit ed0ecc2
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | | - | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
82 | | - | |
83 | | - | |
84 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | 91 | | |
87 | | - | |
88 | | - | |
| |||
0 commit comments