Skip to content

fix(release): drop registry-url so npm performs the OIDC exchange - #15

Merged
Am0rfu5 merged 1 commit into
mainfrom
fix/release-oidc
Jul 5, 2026
Merged

fix(release): drop registry-url so npm performs the OIDC exchange#15
Am0rfu5 merged 1 commit into
mainfrom
fix/release-oidc

Conversation

@Am0rfu5

@Am0rfu5 Am0rfu5 commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

First v1.5.0 publish attempts failed E404: setup-node's registry-url writes a placeholder-auth .npmrc, so npm skips the trusted-publisher OIDC exchange (no 'trusted publisher' notice in the logs) and PUTs with garbage credentials. Removing registry-url lets npm >=11.5.1 negotiate OIDC against its default registry. After merge: recreate the v1.5.0 tag at main to re-trigger the publish (nothing was published; same version).

🤖 Generated with Claude Code

setup-node's registry-url writes an .npmrc auth line with a placeholder

NODE_AUTH_TOKEN; npm 11.18 then skips trusted publishing and the PUT

fails E404. No token config -> npm negotiates OIDC (default registry).
@Am0rfu5
Am0rfu5 merged commit 91e15cb into main Jul 5, 2026
3 checks passed
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