diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 35715d9..8e01b07 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -25,12 +25,24 @@ jobs: npm ci npm run validate + - name: Diagnostiquer le téléchargement Chromium + timeout-minutes: 4 + run: | + set -eu + curl --fail --location \ + --connect-timeout 15 \ + --max-time 180 \ + --output /dev/null \ + --write-out '\nHTTP=%{http_code} destination=%{url_effective}\n' \ + 'https://cdn.playwright.dev/builds/cft/156.0.8078.4/linux64/chrome-headless-shell-linux64.zip' + - name: Installer Chromium pour les tests timeout-minutes: 20 env: CI: "true" # Allow slow CDN connections; Playwright keeps its built-in retries. PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT: "180000" + DEBUG: "pw:install" run: | set -eu npx playwright install --with-deps --only-shell chromium