Skip to content

Commit a56f9be

Browse files
committed
use container instead of installing browsers
1 parent 6618792 commit a56f9be

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
name: End-to-End Tests
1717
runs-on: ubuntu-24.04
1818
timeout-minutes: 15
19+
container:
20+
image: mcr.microsoft.com/playwright:v1.47.0-jammy
1921
permissions:
2022
contents: read
2123
pull-requests: write
@@ -38,22 +40,6 @@ jobs:
3840
- name: Build dependencies
3941
run: make ci-build
4042

41-
- name: Cache Playwright browsers
42-
uses: actions/cache@v4
43-
id: playwright-cache
44-
with:
45-
path: |
46-
~/.cache/ms-playwright
47-
key: ${{ runner.os }}-playwright-${{ hashFiles('**/yarn.lock') }}
48-
restore-keys: |
49-
${{ runner.os }}-playwright-
50-
51-
- name: Install Playwright browsers
52-
if: steps.playwright-cache.outputs.cache-hit != 'true'
53-
run: |
54-
cd packages/app
55-
npx playwright install --with-deps chromium
56-
5743
- name: Run Playwright tests
5844
run: make e2e
5945

0 commit comments

Comments
 (0)