Skip to content

Only configure the npm registry right before publishing - #161

Merged
sdivelbiss merged 1 commit into
masterfrom
fix/npm-registry-setup
Aug 21, 2026
Merged

Only configure the npm registry right before publishing#161
sdivelbiss merged 1 commit into
masterfrom
fix/npm-registry-setup

Conversation

@sdivelbiss

@sdivelbiss sdivelbiss commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

setup-node v7 no longer exports a placeholder NODE_AUTH_TOKEN

Moves the registry setup to just before the publish step, the same way seatsio-angular does it.

Copilot AI lite review requested due to automatic review settings August 21, 2026 14:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the release workflow to avoid yarn install failing due to an .npmrc entry containing an unexpanded ${NODE_AUTH_TOKEN} (behavior change in actions/setup-node@v7), by delaying npm registry configuration until immediately before publishing.

Changes:

  • Removes registry-url from the initial actions/setup-node@v7 step (before yarn install).
  • Adds a second actions/setup-node@v7 step right before yarn publish to configure registry-url only when needed.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@sdivelbiss
sdivelbiss marked this pull request as ready for review August 21, 2026 14:45
@sdivelbiss
sdivelbiss requested a review from a team as a code owner August 21, 2026 14:45
@sdivelbiss
sdivelbiss requested review from PabloNeirotti, bverbeken, latviancoder, mortendevold and mroloux and removed request for a team August 21, 2026 14:45
@sdivelbiss
sdivelbiss merged commit 47c4c46 into master Aug 21, 2026
3 checks passed
@sdivelbiss
sdivelbiss deleted the fix/npm-registry-setup branch August 21, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants