Commit d26651b
feat(ci): enable npm trusted publishing for release workflow
Replace long-lived NPM_AUTH_TOKEN with OIDC-based trusted publishing.
Adds id-token: write permission so GitHub Actions can generate short-lived
OIDC tokens that npm exchanges for publish credentials automatically.
Also bumps Node to 22 as required by npm trusted publishing (needs
npm CLI 11.5.1+ and Node 22.14.0+).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent d0d0d0b commit d26651b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
0 commit comments