Commit cd12d3f
committed
fix(ci): restore token auth with provenance for npm publishing
OIDC provenance does not replace token authentication — npm
requires a token to authorize the publish request. Provenance
adds a signed attestation and the trusted publisher config on
npmjs.com makes it mandatory.
Restore registry-url and NODE_AUTH_TOKEN from NPM_TOKEN secret.
Use a granular access token which bypasses 2FA (unlike classic
tokens that require OTP).1 parent a8d978b commit cd12d3f
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| 51 | + | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments