Commit 7641354
authored
Enable NPM trusted publishing with OIDC (#288)
## Summary
Update npm publish workflow to use OIDC trusted publishing with
provenance.
## Changes
- Add `id-token: write` and `contents: read` permissions for OIDC
authentication
- Use `yarn npm publish` with `--provenance` flag for supply chain
security
- Remove `yarn pack` step (no longer needed with direct yarn publishing)
- Update actions to v6
- Remove `NODE_AUTH_TOKEN` secret (no longer needed with OIDC)
## Status
✅ Trusted publishing has been configured on npmjs.com for this package.1 parent ec9de77 commit 7641354
2 files changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
41 | 38 | | |
42 | 39 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
0 commit comments