mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-27 11:03:27 +01:00
ci(runner-e2e): install Playwright FFmpeg on AWS
This commit is contained in:
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: |
|
||||
|
||||
Reference in new issue
Block a user