Skip to content

Fix: pin publish registry to npmjs.org for release#182

Merged
JiahuiWho merged 1 commit into
masterfrom
fix/pin-publish-registry
Jun 5, 2026
Merged

Fix: pin publish registry to npmjs.org for release#182
JiahuiWho merged 1 commit into
masterfrom
fix/pin-publish-registry

Conversation

@JiahuiWho

Copy link
Copy Markdown
Contributor

AS title

Copilot AI review requested due to automatic review settings June 5, 2026 15:22
@JiahuiWho JiahuiWho merged commit f23a93a into master Jun 5, 2026
4 checks passed
@JiahuiWho JiahuiWho deleted the fix/pin-publish-registry branch June 5, 2026 15:22
@stellar-jenkins-ci

Copy link
Copy Markdown

Something went wrong with PR preview build please check

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the release publishing flow for the @stellar/anchor-tests workspace to ensure publishing targets the public npm registry (registry.npmjs.org) and uses npm publish for the actual publish step.

Changes:

  • Switch publish:anchor-tests to run npm publish from within the @stellar/anchor-tests workspace directory.
  • Add publishConfig to @stellar/anchor-tests to pin the publish registry and set access: public.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Updates the root publish script to publish the workspace via npm publish.
@stellar/anchor-tests/package.json Adds publishConfig to enforce publishing to registry.npmjs.org with public access.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
"build:anchor-tests": "yarn workspace @stellar/anchor-tests build",
"build:docs": "yarn workspace @stellar/anchor-tests typedoc --out ../../docs",
"publish:anchor-tests": "yarn publish @stellar/anchor-tests --access public",
"publish:anchor-tests": "cd @stellar/anchor-tests && npm publish",
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