Skip to content

MLE-31583 Force public npm repo for publishing - #1123

Merged
rjrudin merged 1 commit into
masterfrom
rjdew-progress-github-action-patch
Sep 9, 2026
Merged

MLE-31583 Force public npm repo for publishing#1123
rjrudin merged 1 commit into
masterfrom
rjdew-progress-github-action-patch

Conversation

@rjdew-progress

Copy link
Copy Markdown
Contributor

No description provided.

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.

🟡 Changes recommended

The workflow’s repo .npmrc disables lifecycle scripts (ignore-scripts=true), so publishing to npmjs will omit expected publish-time artifacts unless the workflow generates them explicitly before npm publish.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the release-publish GitHub Actions workflow to ensure npm publish targets the public npm registry (npmjs), rather than the repository’s default registry configured in .npmrc.

Changes:

  • Force npm publish to use https://registry.npmjs.org/ via an explicit --registry flag.
File summaries
File Description
.github/workflows/npm-publish-packages.yml Forces publish step to target the public npm registry during release publishing.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment on lines 26 to +27
# TODO: Create a way to run non-integration tests that don't rely on a MarkLogic Server instance
- run: npm publish # Or: npm stage publish
- run: npm publish --registry=https://registry.npmjs.org/ # Or: npm stage publish
@rjrudin
rjrudin merged commit 61f8cd2 into master Sep 9, 2026
4 of 5 checks passed
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