Update GitHub workflow versions#1329
Draft
RembrandtK wants to merge 2 commits intomainfrom
Draft
Conversation
- 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.
Contributor
There was a problem hiding this comment.
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.
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.