breaking: Remove support for Node.js 18 & 23 (#31409)

* remove support for Node.js 18 & 23

BREAKING CHANGE: remove support for Node.js 18 & 23

* remove binary tests for Node 18

* Add made up date

* Update cli/package.json

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>

---------

Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
This commit is contained in:
Jennifer Shehane
2025-04-01 10:35:51 -04:00
committed by GitHub
parent fd6a923fa8
commit 1f81595fdb
3 changed files with 6 additions and 4 deletions

View File

@@ -1,10 +1,12 @@
<!-- See the ../guides/writing-the-cypress-changelog.md for details on writing the changelog. -->
## 15.0.0
_Released X/X/2025 (PENDING)_
_Released 7/1/2025 (PENDING)_
**Breaking Changes:**
- Removed support for Node.js 18 and Node.js 23. Addresses [#31302](https://github.com/cypress-io/cypress/issues/31302).
## 14.2.2
_Released 4/8/2025 (PENDING)_

View File

@@ -120,7 +120,7 @@
"cypress": "bin/cypress"
},
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
"node": "^20.0.0 || ^22.0.0"
},
"types": "types",
"exports": {

View File

@@ -26,23 +26,23 @@ function smokeTestDockerImage (dockerImage: string) {
describe('binary node versions', () => {
[
'cypress/base:18.16.1',
'cypress/base:20.12.2',
'cypress/base:20.18.0',
'cypress/base:22.0.0',
'cypress/base:22.7.0',
'cypress/base:22.12.0',
'cypress/base:22.14.0',
].forEach(smokeTestDockerImage)
})
describe('type: module', () => {
[
'cypress/base:18.16.1',
'cypress/base:20.12.2',
'cypress/base:20.18.0',
'cypress/base:22.0.0',
'cypress/base:22.7.0',
'cypress/base:22.12.0',
'cypress/base:22.14.0',
].forEach((dockerImage) => {
systemTests.it(`can run in ${dockerImage}`, {
withBinary: true,