Skip to content

MLE-31583 Update npm-publish-packages.yml to use NodeJS 24 - #1124

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

MLE-31583 Update npm-publish-packages.yml to use NodeJS 24#1124
rjdew-progress merged 1 commit into
masterfrom
rjdew-progress-patch-1

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

Enabling workflow_dispatch without an explicit guard/confirmation allows manual runs to execute npm publish, increasing the risk of accidental or unintended publishes.

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

Pull request overview

Updates the npm package publishing GitHub Actions workflow to run with Node.js 24, and adds a manual trigger option for running the publish workflow.

Changes:

  • Bump actions/setup-node configuration from Node.js 22 to Node.js 24.
  • Add workflow_dispatch so the publish workflow can be triggered manually.
  • Minor normalization of the npm publish --registry URL.
File summaries
File Description
.github/workflows/npm-publish-packages.yml Updates the Node.js version used for publishing and adds a manual workflow trigger for publishing.
Review details

Suppressed comments (1)

.github/workflows/npm-publish-packages.yml:28

  • With workflow_dispatch enabled, npm publish will run on manual invocations as well. Add a step-level if: guard so publishing only occurs on release events unless the manual input explicitly confirms publishing.
      - run: npm publish --registry=https://registry.npmjs.org  # Or: npm stage publish
  • 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.

on:
release:
types: [published]
workflow_dispatch:
@rjdew-progress
rjdew-progress merged commit 700fd71 into master Sep 9, 2026
4 checks passed
@rjdew-progress
rjdew-progress deleted the rjdew-progress-patch-1 branch September 9, 2026 20:14
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