Skip to content

Commit c919dbc

Browse files
committed
fix playwright in CI
1 parent 8072bb1 commit c919dbc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
branches:
1010
- master
1111

12+
env:
13+
# we call `pnpm playwright install` instead
14+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
15+
1216
jobs:
1317
# "checks" job runs on linux + 16 only and checks that install, build, lint and audit work
1418
# it also primes the pnpm store cache for linux, important for downstream tests
@@ -81,5 +85,7 @@ jobs:
8185
cache-dependency-path: '**/pnpm-lock.yaml'
8286
- name: install
8387
run: pnpm install --frozen-lockfile --prefer-offline
88+
- name: install playwright chromium
89+
run: pnpm playwright install chromium
8490
- name: run tests
8591
run: pnpm test

0 commit comments

Comments
 (0)