fix(ci): use system chromium for E2E tests (KLZ pattern)
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 1m56s
Build & Deploy / 🏗️ Build (push) Successful in 11m38s
Build & Deploy / 🚀 Deploy (push) Successful in 23s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 3m16s
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-03-02 15:18:54 +01:00
parent eb117cc0b8
commit 9ad63a0a82

View File

@@ -451,11 +451,12 @@ jobs:
env:
TEST_URL: ${{ needs.prepare.outputs.next_public_url }}
GATEKEEPER_PASSWORD: ${{ secrets.GATEKEEPER_PASSWORD }}
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "false"
PUPPETEER_SKIP_DOWNLOAD: "true"
PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium
run: |
# Install Puppeteer system dependencies
sudo apt-get update && sudo apt-get install -y libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxrandr2 libgbm1 libasound2t64
npx puppeteer browsers install chrome
# Install system Chromium + dependencies (KLZ pattern)
sudo apt-get update && sudo apt-get install -y chromium libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxrandr2 libgbm1 libasound2t64
[ -f /usr/bin/chromium ] && sudo ln -sf /usr/bin/chromium /usr/bin/google-chrome
pnpm --filter @mintel/web check:forms
# ──────────────────────────────────────────────────────────────────────────────