Skip to content

ci: add NPM_CONFIG_PROVENANCE to trigger OIDC token exchange#1009

Merged
christso merged 1 commit intomainfrom
ci/oidc-trusted-publishing
Apr 9, 2026
Merged

ci: add NPM_CONFIG_PROVENANCE to trigger OIDC token exchange#1009
christso merged 1 commit intomainfrom
ci/oidc-trusted-publishing

Conversation

@christso
Copy link
Copy Markdown
Collaborator

@christso christso commented Apr 9, 2026

Without `--provenance` / `NPM_CONFIG_PROVENANCE=true`, npm doesn't use the OIDC token and falls back to `ENEEDAUTH`. This env var triggers the OIDC exchange automatically.

🤖 Generated with Claude Code

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 9, 2026

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 00242c8
Status:⚡️  Build in progress...

View logs

Without --provenance (or NPM_CONFIG_PROVENANCE=true), npm doesn't use
the OIDC token and falls back to requiring manual auth.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@christso christso force-pushed the ci/oidc-trusted-publishing branch from e99d352 to 00242c8 Compare April 9, 2026 06:14
@christso christso merged commit 78b1d18 into main Apr 9, 2026
1 check was pending
@christso christso deleted the ci/oidc-trusted-publishing branch April 9, 2026 06:14
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