Skip to content

Commit 9889afe

Browse files
committed
use filter instead of working directory, so cypress can find lockfile in root
1 parent 1233f9d commit 9889afe

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ jobs:
4040
- name: E2E Chromium
4141
uses: cypress-io/github-action@v6
4242
with:
43-
working-directory: packages/tests
44-
start: pnpm start --host 127.0.0.1 --port 3000
43+
install: false
44+
start: pnpm --filter tests start --host 127.0.0.1 --port 3000
4545
wait-on: 'http://127.0.0.1:3000'
4646
browser: chromium
4747

4848
- name: E2E Firefox
4949
uses: cypress-io/github-action@v6
5050
with:
51-
working-directory: packages/tests
52-
start: pnpm start --host 127.0.0.1 --port 3000
51+
install: false
52+
start: pnpm --filter tests start --host 127.0.0.1 --port 3000
5353
wait-on: 'http://127.0.0.1:3000'
5454
browser: firefox
5555

0 commit comments

Comments
 (0)