Commit 922ac1d
authored
fix: Remove registry-url from setup-node to fix OIDC npm publish (#1184)
Closes #1178
Docs: PostHog/posthog.com#15480
The npm publish step was failing with OIDC auth errors because `setup-node` with `registry-url` creates an `.npmrc` that conflicts with the OIDC flow.
1. Remove registry-url from setup-node so npm uses its built-in OIDC provenance flow
2. Remove manual npm upgrade step (no longer needed)
3. Remove empty NODE_AUTH_TOKEN env var1 parent 5e17e65 commit 922ac1d
1 file changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
70 | 66 | | |
71 | 67 | | |
72 | | - | |
0 commit comments