Fix npm OIDC publishing by removing registry-url (#723)

setup-node with registry-url creates an .npmrc expecting NODE_AUTH_TOKEN,
which conflicts with OIDC trusted publisher flow. Removing it lets npm
handle OIDC authentication directly.
This commit is contained in:
Jake Runzer 2026-01-07 17:31:25 -05:00 committed by GitHub
parent 0d1d2a1cae
commit e78f6c0ad3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -211,7 +211,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org/
- name: NPM publish
run: npm publish --access public --provenance