ci(runner-e2e): install Playwright FFmpeg on AWS

This commit is contained in:
Dotta committed 2026-09-04 08:11:29 -05:00
1 parent af3023f1e3
commit 33425f79d3
2 files changed
+23

No files matched your search

@@ -923,6 +923,21 @@ jobs:
test -x "$chrome_path"
google-chrome --version
- name: Install Playwright FFmpeg on AWS runner
if: needs.authorize.outputs.playwright_channel == 'chrome'
run: |
set -euo pipefail
for attempt in 1 2 3; do
if pnpm exec playwright install ffmpeg; then
exit 0
fi
if [ "$attempt" -eq 3 ]; then
echo "Playwright FFmpeg installation failed after $attempt attempts." >&2
exit 1
fi
sleep "$((attempt * 10))"
done
- name: Install Chromium headless shell on GitHub-hosted fallback
if: needs.authorize.outputs.playwright_channel != 'chrome'
run: |