Repository navigation
Commit 7e943bd
committed
ci: publish to npm via OIDC trusted publishing
The npm publish step used the NPM_TOKEN secret, which is invalid
(404 on PUT). With trusted publishing configured on the npm side,
publish directly with --provenance: grant the job id-token: write so
npm can exchange a GitHub OIDC token for a registry token.1 parent c11695f commit 7e943bd
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 85 | + | |
0 commit comments