Skip to content

Commit

Permalink
ci(cypress): re-order node install for cypress binary availability
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Feb 18, 2025
1 parent d8a87c6 commit 4147e8b
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,19 @@ jobs:
run: |
./src/docker/pull.sh --no-debug
- uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install
uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
run_install: true
node-version: '22'
cache: pnpm
cache-dependency-path: ./pnpm-lock.yaml

- name: Install node, cypress
run: |
pnpm install --frozen-lockfile
pnpx cypress install
- name: Build itk-wasm
run: |
Expand Down Expand Up @@ -119,14 +124,19 @@ jobs:
run: |
./src/docker/pull.sh --no-debug
- uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install
uses: pnpm/action-setup@v4

- uses: actions/setup-node@v4
with:
run_install: true
node-version: '22'
cache: pnpm
cache-dependency-path: ./pnpm-lock.yaml

- name: Install node, cypress
run: |
pnpm install --frozen-lockfile
pnpx cypress install
- name: Build itk-wasm
run: |
Expand Down

0 comments on commit 4147e8b

Please # to comment.