Commit b84b28a
fix(ci): upgrade npm for OIDC trusted publishing support (#40)
## Summary
- Node.js 20 ships with npm 10 which **does not support OIDC token
exchange** for trusted publishing (requires npm >= 11.5.1)
- Add `npm install -g npm@latest` before publish steps
- This was the root cause of all E404 errors during publish
References: [npm/cli#8976](npm/cli#8976),
[npm/cli#8678](npm/cli#8678)
## Test plan
- [ ] CI passes
- [ ] After merge: `gh workflow run release-please.yml -f tag=v1.0.3`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9f91a5d commit b84b28a
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
0 commit comments