File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,10 +49,26 @@ jobs:
4949 - name : Seed test data into FalkorDB
5050 run : python e2e/seed_test_data.py
5151
52- - name : Install Playwright
52+ - name : Install Playwright npm dependencies
5353 run : |
5454 npm ci
55- npx playwright install --with-deps
55+
56+ - name : Cache Playwright browsers
57+ id : playwright-cache
58+ uses : actions/cache@v4
59+ with :
60+ path : ~/.cache/ms-playwright
61+ key : playwright-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package-lock.json') }}
62+
63+ - name : Install Playwright browsers
64+ if : steps.playwright-cache.outputs.cache-hit != 'true'
65+ run : npx playwright install --with-deps chromium firefox
66+
67+ - name : Install Playwright system deps
68+ if : steps.playwright-cache.outputs.cache-hit == 'true'
69+ run : |
70+ npx playwright install chromium firefox
71+ npx playwright install-deps chromium firefox
5672
5773 - name : Run Playwright tests
5874 env :
You can’t perform that action at this time.
0 commit comments