Skip to content

Commit 8f19295

Browse files
etrepumclaude
andauthored
[ci] Use playwright install-deps instead of apt-get (#8572)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 1696c6b commit 8f19295

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/actions/setup-playwright/action.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@ runs:
1616
id: vars
1717
shell: bash
1818
run: echo "cache_playwright_path=${{ runner.os == 'macOS' && '~/Library/Caches/ms-playwright' || runner.os == 'Windows' && 'C:\\Users\\runneradmin\\AppData\\Local\\ms-playwright' || '~/.cache/ms-playwright' }}" >> "$GITHUB_OUTPUT"
19-
- name: Install required ubuntu-latest packages
19+
# setup-pnpm must be completed before this point
20+
- name: Install playwright system dependencies
2021
shell: bash
2122
if: runner.os == 'Linux'
22-
run: |
23-
sudo apt-get update
24-
sudo apt-get install xvfb
25-
# setup-pnpm must be completed before this point
23+
run: pnpm exec playwright install-deps
2624
- name: Restore playwright from cache
2725
uses: actions/cache/restore@v5
2826
id: playwright-cache

0 commit comments

Comments
 (0)