Skip to content

Conversation

@taras
Copy link
Member

@taras taras commented Feb 8, 2025

Motivation

Publish step was failing due to ENEEDAUTH error

npm error code ENEEDAUTH
npm error need auth This command requires you to be logged in to https://registry.npmjs.org/
npm error need auth You need to authorize this machine using `npm adduser`
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-02-08T00_34_06_419Z-debug-0.log
Error: Process completed with exit code 1.

Approach

It turns out that setup-node@v4 doesn't setup unless you provide a registry url.

# Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, 
# and set up auth to read in from env.NODE_AUTH_TOKEN.
# Default: ''
registry-url: ''

@taras taras requested a review from cowboyd February 8, 2025 13:02
@cowboyd
Copy link
Member

cowboyd commented Jan 5, 2026

This has been fixed with OIDC publishing

@cowboyd cowboyd closed this Jan 5, 2026
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.

3 participants