chore(deps): update .node-version to 18 #642
Merged
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.
This PR updates .node-version from
14
to18
. It can be used by node version managers or simply read by a user, in order to set up the recommended Node.js version to use the repo or to contribute to it.According to the Node.js release schedule Node.js
14
enters end-of-life status on April 30, 2023. Node.js18
has been the Long Term Support (LTS) version since October 25, 2022.Compatibility
npm ci
npm run local:run
14.21.1
16.16.0
16.20.0
18.16.0
19.9.0
20.0.0
Updating .node-version in this repository to
18
does not affect the compatibility with cypress-io/cypress 12.10.0 > .node-version which defines the Node.js value as16.16.0
. The package runs successfully also on Node.js16.16.0
.Deprecations
Under Node.js
16
and later,npm ci
produces the following warnings:Verification
On Ubuntu 22.04, execute:
and confirm that all Cypress tests run successfully.
Cypress is currently at version
12.10.0
.