diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index 0fc805c05..2fedb1f5f 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -19,7 +19,7 @@ jobs: - name: Install dependencies run: npm ci - name: Install Playwright Browsers - run: npx playwright install --with-deps + run: npx playwright install chromium - name: Build app run: npm run build - name: Run Playwright build smoke test diff --git a/.github/workflows/check-e2e.yml b/.github/workflows/check-e2e.yml index 534ed647e..222a54c2c 100644 --- a/.github/workflows/check-e2e.yml +++ b/.github/workflows/check-e2e.yml @@ -50,13 +50,9 @@ jobs: path: tests/visual/snapshots/**/* key: ${{ runner.os }}-snapshots - - name: Install Playwright browsers and OS dependencies if cache miss + - name: Install Playwright browsers if: steps.playwright-dep-cache.outputs.cache-hit != 'true' - run: npx playwright install --with-deps - - - name: Install only Playwright OS dependencies if cache hit - if: steps.playwright-dep-cache.outputs.cache-hit == 'true' - run: npx playwright install-deps + run: npx playwright install chromium firefox - name: Start http-api test server run: |