Skip to content

Commit 64e1586

Browse files
BREAKING CHANGE: update minimum node engine version from 18.17.1 to 20.19.6 (#512)
* package.lock cleanup * update npm to >11.7 so package lock changes match * use same node version everywhere * update minimum node version * yml * update npm on correct job * empty commit * update engines key to be more precise --------- Co-authored-by: Cacie Prins <cacie@cypress.io>
1 parent fa7447d commit 64e1586

File tree

3 files changed

+134
-154
lines changed

3 files changed

+134
-154
lines changed

.circleci/config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
# To update, be sure to set the NODE_VERSION inside netlify when updating this
55
# executor.
66
# @see https://docs.netlify.com/configure-builds/environment-variables/#netlify-configuration-variables
7+
78
defaultCypressOrbConfig: &defaultCypressOrbConfig
89
executor:
910
name: cypress/default
10-
node-version: '18.17.1'
11+
node-version: '20.19.6'
1112

1213
version: 2.1
1314
orbs:
@@ -17,7 +18,7 @@ jobs:
1718
build:
1819
executor:
1920
name: node/default
20-
tag: '18.17.1'
21+
tag: '20.19.6'
2122
steps:
2223
- checkout
2324
- node/install-packages:
@@ -34,7 +35,7 @@ jobs:
3435
steps:
3536
- cypress/install:
3637
# --force is needed to avoid unsupported platform issues with netlify cli dependencies on @esbuild/android-arm
37-
install-command: npm ci --force
38+
install-command: npm update -g npm && npm ci --force
3839
- persist_to_workspace:
3940
paths:
4041
- .cache/Cypress
@@ -44,7 +45,7 @@ jobs:
4445
release:
4546
executor:
4647
name: node/default
47-
tag: '18.17.1'
48+
tag: '20.19.6'
4849
environment:
4950
# since we do not need Cypress to publish the NPM package
5051
# we can skip the binary download

0 commit comments

Comments
 (0)