Skip to content

Fix npm registry server for publish - #72

Merged
alisonjlai merged 2 commits into
mainfrom
alison/fix-npm-registry
Aug 19, 2026
Merged

Fix npm registry server for publish#72
alisonjlai merged 2 commits into
mainfrom
alison/fix-npm-registry

Conversation

@alisonjlai

@alisonjlai alisonjlai commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Problem

The Publish CI job failed when merging #71 (bump to 1.3.0):

➤ YN0000: Publishing to https://registry.yarnpkg.com with tag latest
➤ YN0033: No authentication configured for request

registry.yarnpkg.com is a read-only npm mirror — it doesn't accept publishes. Yarn falls back to it as a default whenever npmRegistryServer isn't set explicitly.

Root cause

.yarnrc.yml never set npmRegistryServer, so Yarn used its built-in default instead of a real publishable registry.

Fix

Explicitly set the registry in .yarnrc.yml:

npmRegistryServer: "https://registry.npmjs.org"

Testing

After this merges, 1.3.0 will need to be published manually one time (since CI only re-triggers publish on a version change, and 1.3.0 is already merged without one). Future version bumps should auto-publish correctly via CI without a manual step.

CI publish was failing because npmRegistryServer defaulted to
registry.yarnpkg.com (a read-only mirror), not registry.npmjs.org.
@alisonjlai
alisonjlai marked this pull request as ready for review August 19, 2026 20:06
@alisonjlai
alisonjlai requested a review from a team August 19, 2026 20:06
@alisonjlai
alisonjlai merged commit ca55210 into main Aug 19, 2026
9 checks passed
@alisonjlai
alisonjlai deleted the alison/fix-npm-registry branch August 19, 2026 20:12
This was referenced Aug 19, 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.

2 participants