File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 - name : Run lint
3030 run : yarn lint
3131
32- - name : Run tests
33- run : yarn test --run
34-
3532 - name : Run tests with coverage
3633 run : yarn test:coverage --run
3734
6057 - name : Build extension
6158 run : yarn build:e2e
6259
60+ - name : Cache Playwright browsers
61+ id : playwright-cache
62+ uses : actions/cache@v4
63+ with :
64+ path : ~/.cache/ms-playwright
65+ key : playwright-chromium-${{ hashFiles('**/package.json', 'yarn.lock') }}-v1
66+ restore-keys : |
67+ playwright-chromium-
68+
6369 - name : Install Playwright browsers
70+ if : steps.playwright-cache.outputs.cache-hit != 'true'
6471 run : npx playwright install chromium --with-deps
6572
73+ - name : Install Playwright system dependencies
74+ if : steps.playwright-cache.outputs.cache-hit == 'true'
75+ run : npx playwright install-deps chromium
76+
6677 - name : Run E2E tests
6778 run : yarn test:e2e
You can’t perform that action at this time.
0 commit comments