Commit ce76c82
fix(ci): add npm provenance to release publish
Adds --provenance to the npm publish step and the required id-token: write
permission. Attaches a signed attestation to the published package so
consumers can verify it was built by this exact workflow on this repo.
Defends against trojaned releases via a compromised maintainer machine
or NPM_TOKEN.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent dddba30 commit ce76c82
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | | - | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
0 commit comments