Skip to content

Commit 75f8258

Browse files
fix(ci): install playwright chromium before running tests
1 parent 2589373 commit 75f8258

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,8 @@ jobs:
2525
- name: Run linting
2626
run: pnpm run lint
2727

28+
- name: Install Playwright browser for tests
29+
run: pnpm --filter=@ourfuturehealth/react-components exec playwright install --with-deps chromium
30+
2831
- name: Run tests
2932
run: pnpm test

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
- name: Run linting
3333
run: pnpm run lint
3434

35+
- name: Install Playwright browser for tests
36+
run: pnpm --filter=@ourfuturehealth/react-components exec playwright install --with-deps chromium
37+
3538
- name: Run tests
3639
run: pnpm test
3740

0 commit comments

Comments
 (0)