From 81812c16bd1dfd72200e7d1d6ef9d6ecfd9b9817 Mon Sep 17 00:00:00 2001 From: rixo Date: Tue, 27 Jun 2023 14:20:09 +0200 Subject: [PATCH] fix playwright in CI --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb85f39..9a6202b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,10 @@ on: branches: - master +env: + # we call `pnpm playwright install` instead + PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1' + jobs: # "checks" job runs on linux + 16 only and checks that install, build, lint and audit work # it also primes the pnpm store cache for linux, important for downstream tests @@ -81,5 +85,7 @@ jobs: cache-dependency-path: '**/pnpm-lock.yaml' - name: install run: pnpm install --frozen-lockfile --prefer-offline + - name: install playwright chromium + run: cd playground && pnpm playwright install chromium - name: run tests run: pnpm test