Skip to content

ci(publish): fix OIDC auth - sed _authToken from NPM_CONFIG_USERCONFIG - #1091

Merged
lane711 merged 1 commit into
mainfrom
fix/publish-oidc-userconfig
Sep 8, 2026
Merged

lane711 merged 1 commit into
mainfrom
fix/publish-oidc-userconfig

Conversation

@lane711

@lane711 lane711 commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

npm config delete targets wrong file. setup-node writes to $NPM_CONFIG_USERCONFIG; sed directly on that file removes the _authToken line so OIDC trusted publishing can take over.

npm config delete targets the wrong file; setup-node writes to
$NPM_CONFIG_USERCONFIG. Use sed directly on that file to remove
the _authToken line so npm's OIDC exchange can authenticate.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lane711
lane711 merged commit 7d6c9f3 into main Sep 8, 2026
1 check passed

This branch was successfully deployed

1 active deployment
internal — 25127491 Deployed Sep 8, 2026 by lane711 via authorize #1584
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.

1 participant