Commit 3b98de2
chore(ci): switch npm publish to trusted publishing with provenance (#17)
## Summary
- Replace `NPM_TOKEN` secret with OIDC-based npm Trusted Publishing
- Add `id-token: write` permission for OIDC token generation
- Add `--provenance` flag for supply chain integrity attestation
- No long-lived secrets needed for npm publishing
## Test plan
- [x] Trusted Publishing configured on npmjs.com for this repository
- [ ] Next release publishes successfully with provenance badge on
npmjs.com
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent e36b7b8 commit 3b98de2
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
0 commit comments