Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,22 @@ jobs:
run: |
npm ci --legacy-peer-deps
npm run build:no-translate
- name: Cache Playwright Browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-playwright-
- name: Install Playwright Browsers
run: npx playwright install chromium --with-deps
timeout-minutes: 15
run: |
for attempt in 1 2 3; do
npx playwright install chromium --with-deps && exit 0
echo "Playwright install failed on attempt $attempt"
sleep $((attempt * 30))
done
exit 1
- name: Install wp-env
run: |
npm install -g @wordpress/env
Expand Down
Loading