Commit fd5e309
authored
Upgrade npm to support OIDC Trusted Publishing (#231)
npm v10.8.2 (bundled with Node 20.x) predates Trusted Publishing support.
npm CLI v11.5.1+ is required for OIDC authentication with --provenance flag.
Evidence: CI publish failed with ENEEDAUTH despite id-token: write and
correct workflow setup. npm fell back to token auth and found none.
Add explicit npm upgrade step before publish to ensure OIDC works.1 parent 563f4ab commit fd5e309
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments