Skip to content

Commit a228b16

Browse files
authored
feat!: update default Node.js to 22.17.0 (#541)
BREAKING CHANGE: Update to Ubuntu 24.04.2 LTS Update default Node.js from 22.15.0 to 22.17.0 causing CircleCI docker image migration from cimg/node:22.15.0-browsers to cimg/node:22.17.0-browsers with base image migrating from Ubuntu 22.04.3 LTS to Ubuntu 24.04.2 LTS which is the core of the breaking change Also update circleci/browser-tools from 2.1.1 to 2.1.2 (text changes only)
1 parent 6718c5b commit a228b16

File tree

18 files changed

+36
-35
lines changed

18 files changed

+36
-35
lines changed

.circleci/test-deploy.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
install-and-persist:
1212
executor:
1313
name: cypress/default
14-
node-version: "22.14.0"
1514
steps:
1615
- cypress/install:
1716
working-directory: examples/angular-app
@@ -24,7 +23,7 @@ jobs:
2423
- project
2524
run-ct-tests-in-chrome:
2625
docker:
27-
- image: cypress/browsers:22.16.0
26+
- image: cypress/browsers:22.17.0
2827
parallelism: 2
2928
steps:
3029
- run: echo "This step assumes dependencies were installed using the cypress/install job"
@@ -47,7 +46,7 @@ jobs:
4746
cypress-command: "npx cypress run --component --parallel --record --group 2x-chrome-for-testing --browser chrome-for-testing"
4847
run-ct-tests-in-firefox:
4948
docker:
50-
- image: cypress/browsers:22.16.0
49+
- image: cypress/browsers:22.17.0
5150
parallelism: 2
5251
steps:
5352
- run: echo "This step assumes dependencies were installed using the cypress/install job"
@@ -84,10 +83,10 @@ workflows:
8483
name: Custom Node Version Example
8584
working-directory: examples/npm-install
8685
cypress-cache-key: cypress-cache-{{ arch }}-{{ checksum "examples/npm-install/package.json" }}
87-
node-version: "20.15.1"
86+
node-version: "22.17.0"
8887
post-install: |
89-
if ! node --version | grep -q "20.15.1"; then
90-
echo "Node version 20.15.1 not found"
88+
if ! node --version | grep -q "22.17.0"; then
89+
echo "Node version 22.17.0 not found"
9190
exit 1
9291
fi
9392
- cypress/run:
@@ -100,7 +99,6 @@ workflows:
10099
- cypress/run:
101100
filters: *filters
102101
name: Pnpm Example
103-
node-version: "22.14.0"
104102
working-directory: examples/pnpm-install
105103
cypress-cache-key: cypress-cache{{ arch }}-{{ checksum "examples/pnpm-install/package.json" }}
106104
post-install: "pnpm cypress install"

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ A typical project can have:
3434
```yaml
3535
version: 2.1
3636
orbs:
37-
# "cypress-io/cypress@4" installs the latest published
37+
# "cypress-io/cypress@5" installs the latest published
3838
# version "s.x.y" of the orb. We recommend you then use
39-
# the strict explicit version "cypress-io/cypress@4.x.y"
39+
# the strict explicit version "cypress-io/cypress@5.x.y"
4040
# to lock the version and prevent unexpected CI changes
41-
cypress: cypress-io/cypress@4
41+
cypress: cypress-io/cypress@5
4242
workflows:
4343
build:
4444
jobs:
@@ -66,7 +66,7 @@ may have:
6666
```yaml
6767
version: 2.1
6868
orbs:
69-
cypress: cypress-io/cypress@4
69+
cypress: cypress-io/cypress@5
7070
workflows:
7171
build:
7272
jobs:
@@ -135,7 +135,7 @@ A single Docker container used to run Cypress tests. This default executor exten
135135
```yaml
136136
version: 2.1
137137
orbs:
138-
cypress: cypress-io/cypress@4
138+
cypress: cypress-io/cypress@5
139139
executor: cypress/default
140140
jobs:
141141
- cypress/run:
@@ -146,10 +146,10 @@ You can also use your own executor by passing in your own Docker image. See the
146146
```yaml
147147
version: 2.1
148148
orbs:
149-
cypress: cypress-io/cypress@4
149+
cypress: cypress-io/cypress@5
150150
executor:
151151
docker:
152-
image: cypress/browsers:22.15.0 # your Docker image here
152+
image: cypress/browsers:22.17.0 # your Docker image here
153153
jobs:
154154
- cypress/run:
155155
```
@@ -161,7 +161,7 @@ jobs:
161161
```yaml
162162
version: 2.1
163163
orbs:
164-
cypress: cypress-io/cypress@4
164+
cypress: cypress-io/cypress@5
165165
jobs:
166166
install:
167167
executor: cypress/default
@@ -199,7 +199,7 @@ Cypress orb is _versioned_ so you can be sure that the configuration will _not_
199199

200200
You can find all changes and published orb versions for Cypress orb at [cypress-io/circleci-orb/releases](https://github.com/cypress-io/circleci-orb/releases).
201201

202-
We are using `cypress-io/cypress@4` version in our examples, so you get the latest published orb version `4.x.x`. But we recommend locking it down to an exact version to prevent unexpected changes from suddenly breaking your builds.
202+
We are using `cypress-io/cypress@5` version in our examples, so you get the latest published orb version `5.x.x`. But we recommend locking it down to an exact version to prevent unexpected changes from suddenly breaking your builds.
203203

204204
### License
205205

src/@orb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ display:
99

1010
orbs:
1111
node: circleci/node@7
12-
browser-tools: circleci/[email protected].1
12+
browser-tools: circleci/[email protected].2

src/examples/browser.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
description: >
2-
Run Cypress tests using specified browser. `install_browsers: true` installs the default browsers Chrome and Firefox with the geckodriver, and the optional browsers Chrome for Testing and Edge from the CircleCI Browser Tools orb at https://circleci.com/developer/orbs/orb/circleci/browser-tools#commands-install_browser_tools.
2+
Run Cypress tests using specified browser.
3+
`install_browsers: true` installs the default browsers Chrome and Firefox with the geckodriver,
4+
and the optional browsers Chrome for Testing and Edge from the CircleCI Browser Tools orb at
5+
https://circleci.com/developer/orbs/orb/circleci/browser-tools#commands-install_browser_tools.
36
usage:
47
version: 2.1
58
orbs:
6-
cypress: cypress-io/cypress@4
9+
cypress: cypress-io/cypress@5
710
workflows:
811
use-my-orb:
912
jobs:

src/examples/caching.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@4
6+
cypress: cypress-io/cypress@5
77
workflows:
88
use-my-orb:
99
jobs:

src/examples/commands.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@4
6+
cypress: cypress-io/cypress@5
77
jobs:
88
install-and-persist:
99
executor: cypress/default

src/examples/component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >
44
usage:
55
version: 2.1
66
orbs:
7-
cypress: cypress-io/cypress@4
7+
cypress: cypress-io/cypress@5
88
workflows:
99
use-my-orb:
1010
jobs:

src/examples/custom-install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@4
6+
cypress: cypress-io/cypress@5
77
workflows:
88
use-my-orb:
99
jobs:

src/examples/edge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@4
6+
cypress: cypress-io/cypress@5
77
workflows:
88
use-my-orb:
99
jobs:

src/examples/mono-repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
usage:
44
version: 2.1
55
orbs:
6-
cypress: cypress-io/cypress@4
6+
cypress: cypress-io/cypress@5
77
workflows:
88
use-my-orb:
99
jobs:

0 commit comments

Comments
 (0)