File tree Expand file tree Collapse file tree 1 file changed +4
-17
lines changed
Expand file tree Collapse file tree 1 file changed +4
-17
lines changed Original file line number Diff line number Diff line change 3636 e2e-tests :
3737 runs-on : ubuntu-latest
3838 timeout-minutes : 15
39+ container :
40+ image : mcr.microsoft.com/playwright:v1.44.0-jammy
41+ options : --user 1001
3942
4043 strategy :
4144 matrix :
@@ -64,26 +67,10 @@ jobs:
6467 working-directory : ./react-example
6568 run : yarn install --frozen-lockfile
6669
67- - name : Cache Playwright browsers
68- uses : actions/cache@v4
69- id : playwright-cache
70- with :
71- path : ~/.cache/ms-playwright
72- key : ${{ runner.os }}-playwright-${{ hashFiles('react-example/package.json', 'react-example/yarn.lock') }}
73- restore-keys : |
74- ${{ runner.os }}-playwright-
75-
76- - name : Install browser system dependencies
77- working-directory : ./react-example
78- run : |
79- echo "🔧 Installing ${{ matrix.browser }} system dependencies..."
80- sudo npx playwright install-deps ${{ matrix.browser }}
81- echo "✅ System dependencies installed"
82-
8370 - name : Install Playwright browsers
8471 working-directory : ./react-example
8572 run : |
86- echo "📥 Installing ${{ matrix.browser }} browser binary ..."
73+ echo "📥 Installing ${{ matrix.browser }} browser (dependencies already in Docker image) ..."
8774 yarn playwright install ${{ matrix.browser }}
8875 echo "✅ Browser installed"
8976 - name : Create environment configuration
You can’t perform that action at this time.
0 commit comments