Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

fix(ci): use actions/setup-node directly for npm publish auth#44

Merged
LucasSantana-Dev merged 1 commit into
mainfrom
fix/npm-publish-auth
Apr 6, 2026
Merged

fix(ci): use actions/setup-node directly for npm publish auth#44
LucasSantana-Dev merged 1 commit into
mainfrom
fix/npm-publish-auth

Conversation

@LucasSantana-Dev

Copy link
Copy Markdown
Member

Problem

The Publish to npm workflow has been failing since v0.6.0 with ENEEDAUTH. The custom composite action Forge-Space/.github/.github/actions/setup-node@main doesn't accept registry-url as an input, so the .npmrc file for npm authentication is never created.

Fix

Use actions/setup-node@v6 directly in the publish job (matching the pattern in @forgespace/core's working publish.yml) instead of the custom composite action. This ensures registry-url is properly forwarded, creating the .npmrc that NODE_AUTH_TOKEN needs.

Verification

After merge, re-tag v0.6.1 (or create v0.6.2) to trigger a publish workflow run.

@sonarqubecloud

sonarqubecloud Bot commented Apr 6, 2026

Copy link
Copy Markdown

@LucasSantana-Dev LucasSantana-Dev merged commit b14afbb into main Apr 6, 2026
12 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant