Repository navigation
Commit 0186fea
fix(ci): harden release workflows — Node 24, permissions, registry-url
- Add `permissions: contents: read / id-token: write` to both release
jobs; id-token:write is required for npm provenance (SLSA attestation)
- Upgrade node-version from 22.x to 24 to match the org-wide publish
standard and stay ahead of Node 22 LTS EOL
- Add `registry-url: https://registry.npmjs.org/` to setup-node so the
runner writes a proper .npmrc with NODE_AUTH_TOKEN wired up for any
plain `npm` calls in the job
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 994bbf4 commit 0186fea
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
0 commit comments