Skip to content

chore(ci): upgrade node to 22 lts (test on 22 and 24)#2433

Merged
joshuaellis merged 1 commit into
nextfrom
chore/node-upgrade
May 21, 2026
Merged

chore(ci): upgrade node to 22 lts (test on 22 and 24)#2433
joshuaellis merged 1 commit into
nextfrom
chore/node-upgrade

Conversation

@joshuaellis

Copy link
Copy Markdown
Member

Node 18 (EOL April 2025) and Node 20 (out of maintenance April 2026) are unsupported upstream. This brings CI onto supported LTS lines and declares the floor in the root package.json.

Changes

  • Matrix jobs (Build, Test:unit, Test:types, Test:E2E) now run on 22.x and 24.x
  • publish-ci and are-the-types-wrong matrices moved from 18.x to 22.x
  • Pinned workflows (nightly, checks, bundle-size, experimental) read Node from .nvmrc instead of hard-coding 20
  • .nvmrc refreshed to 22.22.3 (latest 22.x patch)
  • Root package.json declares "engines": { "node": ">=22" }. Scoped to root only — published packages under packages/* and targets/* are untouched, so library consumers see no change.

Notes

  • engines is intentionally root-only. If we want to declare a floor for consumers in future, that's a separate SemVer-relevant call.
  • Locally verified on Node 24: pnpm install --frozen-lockfile, pnpm build-ci, pnpm test, pnpm docs:build all clean.

@vercel

vercel Bot commented May 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-spring Ready Ready Preview May 21, 2026 7:04pm

Request Review

@changeset-bot

changeset-bot Bot commented May 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: db283bf

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

@joshuaellis
joshuaellis merged commit d332183 into next May 21, 2026
21 checks passed
@joshuaellis
joshuaellis deleted the chore/node-upgrade branch May 21, 2026 19:07
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.

1 participant