Install Playwright dependencies
This commit is contained in:
parent
f06a6e1fb7
commit
a2a58c2bc2
1 changed files with 8 additions and 0 deletions
8
.github/workflows/e2e_tests.yml
vendored
8
.github/workflows/e2e_tests.yml
vendored
|
|
@ -12,6 +12,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libwoff1
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
|
|
@ -31,6 +36,9 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Install Playwright dependencies
|
||||||
|
run: npx playwright install-deps
|
||||||
|
|
||||||
- name: Install Playwright and browsers unless cached
|
- name: Install Playwright and browsers unless cached
|
||||||
run: npx playwright install --with-deps
|
run: npx playwright install --with-deps
|
||||||
if: steps.cache-playwright.outputs.cache-hit != 'true'
|
if: steps.cache-playwright.outputs.cache-hit != 'true'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue