Commit efe821c
authored
feat: enable npm Trusted Publishers (#1422)
Enables npm Trusted Publishers for secure publishing without manual
token management.
**Changes:**
- Update Node version to 24 (required for npm 11+)
- Add `id-token: write` permission for OIDC authentication
- Add `--provenance` flag to publish commands
- Remove `NODE_AUTH_TOKEN` environment variable (no longer needed)
**Benefits:**
- More secure authentication using OIDC
- Cryptographic provenance for published packages
- No need to manage NPM_TOKEN secrets1 parent 2371819 commit efe821c
1 file changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | | - | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | | - | |
36 | | - | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
| 53 | + | |
0 commit comments