Skip to content

Update publish workflow to use Node 20#18

Merged
francinelucca merged 2 commits into
mainfrom
copilot/fix-code-for-review-comment
May 11, 2026
Merged

Update publish workflow to use Node 20#18
francinelucca merged 2 commits into
mainfrom
copilot/fix-code-for-review-comment

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

Bug Fix

The publish workflow was still pinned to Node 14, while the publish command now depends on a newer npm that supports provenance-aware publishing. This change updates only the workflow runtime called out in the review comment.

  • What was the bug?

    The npm publish job used an outdated Node/npm toolchain, which could cause the release workflow to fail when running the publish step.

  • How did you fix it?

    The publish workflow now uses Node 20 for the publish-npm job, aligning it with the repository’s current CI runtime and ensuring the bundled npm supports the publish command used there.

  • Change

    - uses: actions/setup-node@v3
      with:
        node-version: 20
        registry-url: https://registry.npmjs.org/
        cache: npm

Copilot AI changed the title [WIP] Fix code as per review comment Update publish workflow to use Node 20 May 8, 2026
Copilot AI requested a review from francinelucca May 8, 2026 17:58
@francinelucca francinelucca marked this pull request as ready for review May 11, 2026 14:32
Copilot AI review requested due to automatic review settings May 11, 2026 14:32
@francinelucca francinelucca requested a review from a team as a code owner May 11, 2026 14:32
@francinelucca francinelucca enabled auto-merge May 11, 2026 14:33
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions publish workflow to run the publish-npm job on Node.js 20, aligning the release/publish toolchain with the newer npm features required by the repository’s publishing command.

Changes:

  • Bump the publish-npm job’s actions/setup-node node-version from 14 to 20.
Show a summary per file
File Description
.github/workflows/publish.yml Updates the publish workflow runtime from Node 14 to Node 20 for npm publishing.

Copilot's findings

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@francinelucca francinelucca merged commit c757cb9 into main May 11, 2026
7 of 9 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.

4 participants