Skip to content

Commit 1233f9d

Browse files
committed
try to run the cypress install early
1 parent 0d2a415 commit 1233f9d

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Install project dependencies
2626
run: pnpm i
2727

28+
- name: Install Cypress binary
29+
run: pnpm exec cypress install
30+
2831
- name: Build SolidStart
2932
run: pnpm --filter @solidjs/start build
3033

@@ -34,16 +37,9 @@ jobs:
3437
- name: Run unit tests
3538
run: pnpm --filter tests unit:ci
3639

37-
- name: Install Cypress dependencies
38-
uses: cypress-io/github-action@v6
39-
with:
40-
working-directory: .
41-
runTests: false
42-
4340
- name: E2E Chromium
4441
uses: cypress-io/github-action@v6
4542
with:
46-
install: false
4743
working-directory: packages/tests
4844
start: pnpm start --host 127.0.0.1 --port 3000
4945
wait-on: 'http://127.0.0.1:3000'
@@ -52,7 +48,6 @@ jobs:
5248
- name: E2E Firefox
5349
uses: cypress-io/github-action@v6
5450
with:
55-
install: false
5651
working-directory: packages/tests
5752
start: pnpm start --host 127.0.0.1 --port 3000
5853
wait-on: 'http://127.0.0.1:3000'

0 commit comments

Comments
 (0)