Commit 72531b1
chore: switch npm publish from token to OIDC trusted publishers
- Add id-token:write permission for npm OIDC
- Ensure npm >= 11.5.1 (required for OIDC trusted publishing)
- Remove NPM_TOKEN / NODE_AUTH_TOKEN secrets from goreleaser step
GitHub is already configured as a trusted publisher on npmjs.com.
GoReleaser's npm pipe will use the OIDC token automatically.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 95a6543 commit 72531b1
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
44 | | - | |
45 | | - | |
| |||
0 commit comments