Commit aacf6c7
fix(ci): restructure publish workflow for OIDC authentication (#25)
* fix(ci): restructure publish workflow for OIDC authentication
Adopt the Reactist publishing pattern to fix npm registry authentication
failures. The previous approach had GITHUB_TOKEN leaking between publish
steps, preventing OIDC from working.
Changes:
- Add .npmrc with @Doist registry config for OIDC-based npm publishing
- Reverse publish order: npm first, GitHub Packages second
- Remove setup-node registry-url for initial npm publish (uses .npmrc)
- Add config cleanup step between registry publishes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: update .node-version so that it satisfies the requirement defined in package.json on CI
Update .node-version to 22.22.0 to satisfy the engine requirement
(^22.22.0 || >=24.13.0) while keeping engine-strict=true in .npmrc.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Remove access and provenance flags from npm publish
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 58257a4 commit aacf6c7
3 files changed
+34
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | | - | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | | - | |
26 | | - | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | | - | |
41 | | - | |
42 | 48 | | |
43 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
44 | 53 | | |
45 | 54 | | |
| 55 | + | |
46 | 56 | | |
47 | | - | |
| 57 | + | |
48 | 58 | | |
49 | 59 | | |
50 | | - | |
51 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments