Skip to content

ci: authenticate npm publish with the org token#5

Merged
mvedma0405 merged 1 commit into
developmentfrom
ci/npm-token-publish
Jun 10, 2026
Merged

ci: authenticate npm publish with the org token#5
mvedma0405 merged 1 commit into
developmentfrom
ci/npm-token-publish

Conversation

@mvedma0405

Copy link
Copy Markdown
Collaborator

Summary

The release pipeline's npm publish fails with E404 on PUT because it relies on OIDC trusted publishing, which is not configured on npmjs for this package (the Rokt kit has it; ours does not). Wire NPM_AUTH_TOKEN into the release job as NODE_AUTH_TOKEN so setup-node's registry-url .npmrc picks it up. Provenance is still attested via the OIDC id-token.

Testing Plan

Next release run (the 1.1.0 attempt) validates this end to end.

No trusted publisher is configured on npmjs for this package, so the OIDC-only
publish 404s. Use NPM_AUTH_TOKEN via NODE_AUTH_TOKEN (setup-node registry-url
wires .npmrc to it); provenance is still attested through the OIDC id-token.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mvedma0405 mvedma0405 merged commit abd7ae0 into development Jun 10, 2026
@mvedma0405 mvedma0405 deleted the ci/npm-token-publish branch June 10, 2026 21:30
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.

2 participants