mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user