ci(runner): install only Chromium headless shell

This commit is contained in:
Dotta committed 2026-09-04 02:26:19 -05:00
1 parent 6a8d4c597c
commit fca39344b1
2 files changed
+9 -3

No files matched your search

+3 -3
View File
@@ -910,15 +910,15 @@ jobs:
if: matrix.profileId == 'legacy-claude'
run: npm install --global --omit=dev @anthropic-ai/claude-code@2.1.19
- name: Install Chromium
- name: Install Chromium headless shell
run: |
set -euo pipefail
for attempt in 1 2 3; do
if pnpm exec playwright install --with-deps chromium; then
if pnpm exec playwright install --with-deps --only-shell chromium; then
exit 0
fi
if [ "$attempt" -eq 3 ]; then
echo "Chromium installation failed after $attempt attempts." >&2
echo "Chromium headless shell installation failed after $attempt attempts." >&2
exit 1
fi
sleep "$((attempt * 10))"