Commit 5ab9717
ci: switch npm publish to OIDC trusted publishing (#157)
Replace static NPM_TOKEN with GitHub Actions OIDC-based provenance
publishing. This eliminates the need for secret rotation and improves
supply chain security.
- Add id-token: write permission for OIDC token
- Use --provenance flag on npm publish
- Remove NPM_TOKEN secret dependency
- Update node-version to 24
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5b5d758 commit 5ab9717
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 52 | + | |
0 commit comments