chore(deps): update .node-version to 24#1582
Merged
jennifer-shehane merged 1 commit intocypress-io:masterfrom Nov 6, 2025
Merged
chore(deps): update .node-version to 24#1582jennifer-shehane merged 1 commit intocypress-io:masterfrom
jennifer-shehane merged 1 commit intocypress-io:masterfrom
Conversation
refresh npm lockfiles (package-lock.json) add .nvmrc with 24
|
jennifer-shehane
approved these changes
Nov 6, 2025
|
🎉 This PR is included in version 6.10.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Situation
Node.js
24.xtransitioned to Active LTS status with the release of Node.js 24.11.0, codename "Krypton" on Oct 28, 2025..node-version currently contains
22which is interpreted as the latest Node.js22.xversion available..node-version is used as a default for users manually working with the repo (or a clone of it) and for certain example workflows in .github/workflows that use action/setup-node to specify which version of Node.js to run under:
.node-version.node-versionAdditionally the following workflows contain hard-coded Node.js versions:
There is no
.nvmrcversion file in the repo, which would be used by nvm version managers.Change
22to24npm installfor the repo root, and for each npm-based example through ./scripts/update-cypress-latest-npm.sh.nvmrcwith content24. This file is used by the Linux nvm Node.js version manager recommended by the Node.js organization on https://nodejs.org/en/download. See nvm > README > .nvmrc.Verification
Ubuntu
24.04.3, Node.js24.11.0LTSn auto # if using n / or nvm use git clean -xfd npm install npm run format npm run buildConfirm no changes made.
Confirm that updating Cypress runs successfully and that no unexpected updates are made.
Notes
Updating from Node.js 22 (
22.21.1) to Node.js 24 (24.11.0), updates from npm10.9.4to npm 11.6.1 which contains a fix for peer dependency flag propagation. This causes the addition of"peer": trueto several transient dependencies in npm lockfilespackage-lock.json.This change does not affect the version of Node.js that the action internally runs under. This remains as
node20at this time. A separate issue #1519 tracks this change, together with other related dependencies which will need updating.Workflows that do not use action/setup-node instead run using the default version of Node.js as defined by their respective GitHub Actions hosted runner images. These are currently:
macos-15/macos-latest22.21.0ubuntu-22.0420.19.5ubuntu-24.04/ubuntu-latest20.19.5windows-2025/windows-latest22.21.0