Skip to content

Update GitHub workflow versions#1329

Draft
RembrandtK wants to merge 2 commits intomainfrom
update-gh-workflow-versions
Draft

Update GitHub workflow versions#1329
RembrandtK wants to merge 2 commits intomainfrom
update-gh-workflow-versions

Conversation

@RembrandtK
Copy link
Copy Markdown
Contributor

@RembrandtK RembrandtK commented Apr 28, 2026

Required to fix publish GH workflow.

General update of stale versions in the process.

Updates from Node 22 to Node 24 and also bumps action versions.

- actions/setup-node: v4 → v6, node-version 22 → 24
- actions/checkout: v3/v4 → v6
- actions/upload-artifact: v3 → v7 (v3 was sunset by GitHub)
- actions/download-artifact: v3 → v8 (v3 was sunset by GitHub)
- actions/github-script: v7 → v9
- codecov/codecov-action: v3 → v6
- Add description: field to setup composite action (schema)

Fixes the npm install -g npm@11.13.0 cross-major self-upgrade crash
seen on Node 22 — Node 24 ships npm 11.x, so this is now an 11→11 swap.
Also clears the Node 20 runtime deprecation warning on JS actions.

cache: 'pnpm' on setup-node@v6 verified: v6's "limit automatic caching
to npm" change only affects auto-detection when cache is unset; explicit
cache: 'pnpm' is unaffected.
Node 24 ships npm 11.x bundled (24.15.0 → npm 11.12.1), which already
satisfies the OIDC trusted-publishing requirement of npm >= 11.5.1.
The explicit `npm install -g npm@11.13.0` step was a Node 22 workaround
and is now redundant.

Pinning the Node version effectively pins npm; if stricter pinning is
ever needed it can be reintroduced.
Copy link
Copy Markdown
Contributor

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 GitHub Actions workflows and the shared CI setup action to newer tool/action versions to address a broken publish workflow and reduce staleness.

Changes:

  • Bump various uses: action references across workflows (checkout/artifacts/github-script/codecov).
  • Update the shared composite setup action to install a newer Node.js version.
  • Remove the publish workflow’s explicit npm upgrade step previously used for OIDC trusted publishing.

Reviewed changes

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

Show a summary per file
File Description
.github/workflows/verifydeployed.yml Updates checkout + artifact upload/download action versions used by the verify-deployed workflow.
.github/workflows/require-audit-label.yml Updates actions/github-script version for changed-file detection.
.github/workflows/publish.yml Updates checkout action version and removes the explicit npm upgrade step.
.github/workflows/lint.yml Updates checkout action version for lint workflow.
.github/workflows/build-test.yml Updates checkout action version and Codecov action version for coverage uploads.
.github/actions/setup/action.yml Updates setup-node action version and bumps Node.js version used across workflows.

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

Comment thread .github/workflows/publish.yml
@RembrandtK RembrandtK changed the title Update gh workflow versions Update GitHub workflow versions Apr 28, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.62%. Comparing base (49e5889) to head (0448ce7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1329      +/-   ##
==========================================
+ Coverage   88.55%   88.62%   +0.06%     
==========================================
  Files          75       75              
  Lines        4615     4615              
  Branches      823      981     +158     
==========================================
+ Hits         4087     4090       +3     
+ Misses        507      504       -3     
  Partials       21       21              
Flag Coverage Δ
unittests 88.62% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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