Skip to content

Commit 1362fed

Browse files
authored
ci: use node.js 22 in circleci windows jobs (#939)
update to circleci/[email protected]
1 parent 8d10f64 commit 1362fed

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.circleci/config.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version: 2.1
99
orbs:
1010
# use Cypress orb from CircleCI registry
1111
cypress: cypress-io/[email protected]
12-
win: circleci/windows@5.0.0
12+
win: circleci/windows@5.1.0
1313

1414
executors:
1515
mac:
@@ -28,7 +28,12 @@ jobs:
2828
shell: bash.exe
2929
steps:
3030
- checkout
31-
31+
- run:
32+
name: Install Node.js
33+
command: |
34+
nvm --version
35+
nvm install 22
36+
nvm use 22
3237
- restore_cache:
3338
key: dependencies-{{ arch }}-{{ .Branch }}-{{ checksum "package.json" }}
3439

@@ -63,7 +68,12 @@ jobs:
6368
shell: bash.exe
6469
steps:
6570
- checkout
66-
71+
- run:
72+
name: Install Node.js
73+
command: |
74+
nvm --version
75+
nvm install 22
76+
nvm use 22
6777
- restore_cache:
6878
key: dependencies-{{ arch }}-{{ .Branch }}-{{ checksum "package.json" }}
6979

@@ -101,7 +111,12 @@ jobs:
101111
shell: bash.exe
102112
steps:
103113
- checkout
104-
114+
- run:
115+
name: Install Node.js
116+
command: |
117+
nvm --version
118+
nvm install 22
119+
nvm use 22
105120
- restore_cache:
106121
key: dependencies-{{ arch }}-{{ .Branch }}-{{ checksum "package.json" }}
107122

0 commit comments

Comments
 (0)