From 8183506c4a35829660e29d4126b7b75fbebadb0a Mon Sep 17 00:00:00 2001 From: Henry Winkel Date: Thu, 14 May 2026 17:03:05 +0200 Subject: [PATCH] fix: specify chromium for Playwright browser installation and add retry step --- .gitea/workflows/test.yml | 8 +++++++- .github/workflows/copilot-setup-steps.yml | 5 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 8a9671a..c48721c 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -26,7 +26,13 @@ jobs: run: npm ci --legacy-peer-deps - name: Install Playwright browsers - run: npx playwright install --with-deps + run: npx playwright install chromium --with-deps + timeout-minutes: 10 + + - name: Install Playwright browsers retry + if: failure() + run: npx playwright install chromium --with-deps + timeout-minutes: 10 - name: Run typecheck run: npm run typecheck diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 6cef7df..d96f613 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -26,7 +26,8 @@ jobs: cache: "npm" - name: Install dependencies - run: npm ci + run: npm ci --legacy-peer-deps - name: Install Playwright browsers - run: npx playwright install --with-deps + run: npx playwright install chromium --with-deps + timeout-minutes: 10