Skip to content

Commit 4147e8b

Browse files
committed
ci(cypress): re-order node install for cypress binary availability
1 parent d8a87c6 commit 4147e8b

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

.github/workflows/cypress.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,19 @@ jobs:
3636
run: |
3737
./src/docker/pull.sh --no-debug
3838
39-
- uses: actions/setup-node@v4
40-
with:
41-
node-version: '20'
42-
4339
- name: Install
4440
uses: pnpm/action-setup@v4
41+
42+
- uses: actions/setup-node@v4
4543
with:
46-
run_install: true
44+
node-version: '22'
45+
cache: pnpm
46+
cache-dependency-path: ./pnpm-lock.yaml
47+
48+
- name: Install node, cypress
49+
run: |
50+
pnpm install --frozen-lockfile
51+
pnpx cypress install
4752
4853
- name: Build itk-wasm
4954
run: |
@@ -119,14 +124,19 @@ jobs:
119124
run: |
120125
./src/docker/pull.sh --no-debug
121126
122-
- uses: actions/setup-node@v4
123-
with:
124-
node-version: '20'
125-
126127
- name: Install
127128
uses: pnpm/action-setup@v4
129+
130+
- uses: actions/setup-node@v4
128131
with:
129-
run_install: true
132+
node-version: '22'
133+
cache: pnpm
134+
cache-dependency-path: ./pnpm-lock.yaml
135+
136+
- name: Install node, cypress
137+
run: |
138+
pnpm install --frozen-lockfile
139+
pnpx cypress install
130140
131141
- name: Build itk-wasm
132142
run: |

0 commit comments

Comments
 (0)