Skip to content

Update Node version to 24 in CI workflows#4094

Merged
jonrohan merged 1 commit into
mainfrom
copilot/update-node-versions-to-24
Jun 15, 2026
Merged

Update Node version to 24 in CI workflows#4094
jonrohan merged 1 commit into
mainfrom
copilot/update-node-versions-to-24

Conversation

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Authors: Please fill out this form carefully and completely.

Reviewers: By approving this Pull Request you are approving the code change, as well as its deployment and mitigation plans.
Please read this description carefully. If you feel there is anything unclear or missing, please ask for updates.

What are you trying to accomplish?

Bump node-version from 20 to 24 across all CI workflows for consistency with the already-updated release.yml steps.

Updated workflows:

  • test-system.yml
  • test-lib.yml
  • test-selectors.yml
  • test-components.yml
  • test-accessibility.yml
  • static-files.yml
  • test-visual.yml
  • codeql-analysis.yml
  • release.yml (remaining step on 20)

Integration

No production code changes. CI-only.

Risk Assessment

  • Low risk the change is small, highly observable, and easily rolled back.

What approach did you choose and why?

Single-value node-version replacement to keep all jobs on a consistent runtime. release.yml already pinned two steps to 24; this aligns the remainder.

Anything you want to highlight for special attention from reviewers?

Confirm Node 24 is acceptable for all jobs, particularly Playwright-based visual/accessibility runs.

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Added/updated previews (Lookbook)
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 62a2fb3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jonrohan jonrohan added the skip changeset Pull requests that don't change the library output label Jun 15, 2026
@jonrohan jonrohan marked this pull request as ready for review June 15, 2026 17:38
@jonrohan jonrohan requested a review from a team as a code owner June 15, 2026 17:38
@jonrohan jonrohan requested review from Copilot and liuliu-dev June 15, 2026 17:38
@jonrohan jonrohan enabled auto-merge (squash) June 15, 2026 17:39
@jonrohan jonrohan disabled auto-merge June 15, 2026 17:39

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.

Pull request overview

Updates GitHub Actions CI workflows to run on Node.js 24 instead of 20, aligning all CI jobs (including Playwright-based visual/accessibility runs and CodeQL) with a consistent Node runtime.

Changes:

  • Bumped actions/setup-node node-version from 2024 across CI workflows.
  • Completed the remaining release.yml step that was still on Node 20 so release.yml is fully on Node 24.
Show a summary per file
File Description
.github/workflows/test-visual.yml Update CI Node version to 24 for Playwright visual tests.
.github/workflows/test-system.yml Update CI Node version to 24 for system test job setup/build steps.
.github/workflows/test-selectors.yml Update CI Node version to 24 for selector build/test workflow.
.github/workflows/test-lib.yml Update CI Node version to 24 for library test workflow builds.
.github/workflows/test-components.yml Update CI Node version to 24 for component test workflow builds.
.github/workflows/test-accessibility.yml Update CI Node version to 24 for Playwright accessibility tests.
.github/workflows/static-files.yml Update CI Node version to 24 for static file generation workflow.
.github/workflows/release.yml Update remaining release job Node version to 24.
.github/workflows/codeql-analysis.yml Update CI Node version to 24 for CodeQL JavaScript analysis job.

Copilot's findings

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

Comment on lines 24 to 27
- uses: actions/setup-node@v5
with:
node-version: 20
node-version: 24
cache: "npm"
@jonrohan jonrohan merged commit 8e701a1 into main Jun 15, 2026
38 of 39 checks passed
@jonrohan jonrohan deleted the copilot/update-node-versions-to-24 branch June 15, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changeset Pull requests that don't change the library output

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants