Skip to content

fix: Remove registry-url from setup-node to fix OIDC npm publish#1184

Merged
charlesvien merged 1 commit intomainfrom
03-10-remove_registry-url_from_setup-node_to_fix_oidc_npm_publish
Mar 11, 2026
Merged

fix: Remove registry-url from setup-node to fix OIDC npm publish#1184
charlesvien merged 1 commit intomainfrom
03-10-remove_registry-url_from_setup-node_to_fix_oidc_npm_publish

Conversation

@charlesvien
Copy link
Member

@charlesvien charlesvien commented Mar 10, 2026

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 var

@charlesvien charlesvien changed the title Remove registry-url from setup-node to fix OIDC npm publish fix: Remove registry-url from setup-node to fix OIDC npm publish Mar 10, 2026
@charlesvien charlesvien mentioned this pull request Mar 10, 2026
@charlesvien charlesvien changed the base branch from 03-10-align_plan_mode_rejection_with_claude_code_behavior to graphite-base/1184 March 10, 2026 22:10
@charlesvien charlesvien force-pushed the 03-10-remove_registry-url_from_setup-node_to_fix_oidc_npm_publish branch from ed59b58 to 011987d Compare March 10, 2026 22:10
@charlesvien charlesvien marked this pull request as ready for review March 10, 2026 22:11
@charlesvien charlesvien force-pushed the 03-10-remove_registry-url_from_setup-node_to_fix_oidc_npm_publish branch 2 times, most recently from aaee55b to 424f468 Compare March 10, 2026 23:05
@charlesvien charlesvien force-pushed the 03-10-remove_registry-url_from_setup-node_to_fix_oidc_npm_publish branch from 424f468 to e8a68f3 Compare March 11, 2026 06:01
@charlesvien charlesvien changed the base branch from graphite-base/1184 to 03-10-fix_sidebar_button_not_switching_project_on_new_task_screen March 11, 2026 06:01
@graphite-app graphite-app bot changed the base branch from 03-10-fix_sidebar_button_not_switching_project_on_new_task_screen to graphite-base/1184 March 11, 2026 14:16
@charlesvien charlesvien force-pushed the 03-10-remove_registry-url_from_setup-node_to_fix_oidc_npm_publish branch from e8a68f3 to c1675c0 Compare March 11, 2026 16:56
@charlesvien charlesvien changed the base branch from graphite-base/1184 to 03-10-fix_sidebar_button_not_switching_project_on_new_task_screen March 11, 2026 16:56
@charlesvien charlesvien changed the base branch from 03-10-fix_sidebar_button_not_switching_project_on_new_task_screen to graphite-base/1184 March 11, 2026 17:06
@charlesvien charlesvien changed the base branch from graphite-base/1184 to main March 11, 2026 17:06
@charlesvien charlesvien force-pushed the 03-10-remove_registry-url_from_setup-node_to_fix_oidc_npm_publish branch from c1675c0 to 88f2875 Compare March 11, 2026 17:06
@charlesvien charlesvien force-pushed the 03-10-remove_registry-url_from_setup-node_to_fix_oidc_npm_publish branch from 88f2875 to a073e19 Compare March 11, 2026 17:07
@charlesvien charlesvien merged commit 922ac1d into main Mar 11, 2026
15 checks passed
Copy link
Member Author

Merge activity

@charlesvien charlesvien deleted the 03-10-remove_registry-url_from_setup-node_to_fix_oidc_npm_publish branch March 11, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent package is failing to publish

2 participants