File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,16 @@ jobs:
3232 - name : Install dependencies
3333 run : pnpm install --frozen-lockfile
3434
35- - name : Setup Playwright using official action
36- uses : microsoft/playwright-github-action@v1
37- with :
38- browsers : chromium
35+ - name : Install system dependencies
36+ run : |
37+ sudo apt-get update
38+ sudo apt-get install -y parallel xvfb
39+
40+ - name : Install Playwright browsers with dependencies
41+ run : pnpm exec playwright install --with-deps chromium
3942
4043 - name : Setup virtual display
4144 run : |
42- sudo apt-get update
43- sudo apt-get install -y xvfb
4445 export DISPLAY=:99
4546 Xvfb :99 -screen 0 1920x1080x24 > /dev/null 2>&1 &
4647 echo "DISPLAY=:99" >> $GITHUB_ENV
8182 env :
8283 SECRET_WORDS : ${{ secrets.SECRET_WORDS }}
8384 DISPLAY : :99
85+ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD : " 0"
8486
8587 - uses : actions/upload-artifact@v4
8688 if : always()
You can’t perform that action at this time.
0 commit comments