Remove playwright dependency install steps

It seems like the tests on CI work just fine without installing the
deps. We assume the deps are already installed in the ubuntu image.

This saves build time and our builds still work when the azure servers
that provide the deps are down.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2023-01-06 15:25:54 +01:00
parent d8dd0d8e5b
commit 972b5ccf20
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -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
+2 -6
View File
@@ -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: |