From 361ad3acc266c3848aaa2cdda7e1e2f5a73c0e5f Mon Sep 17 00:00:00 2001 From: Barcode Betty Date: Tue, 31 Mar 2026 21:07:44 +0000 Subject: [PATCH] fix(ci): add --disable-gpu and --disable-dev-shm-usage to Lighthouse Chrome flags --- .github/workflows/ci.yml | 2 +- lighthouserc.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd48684..da8a92b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: run: | CHROME_PATH=$(find /home/runner/.cache/ms-playwright -name chrome -type f 2>/dev/null | head -1) npm install -g @lhci/cli - CHROME_PATH="$CHROME_PATH" lhci autorun --chrome-flags="--headless=new --no-sandbox" + CHROME_PATH="$CHROME_PATH" lhci autorun --chrome-flags="--headless=new --no-sandbox --disable-gpu --disable-dev-shm-usage" build-and-push: runs-on: runners-cartsnitch diff --git a/lighthouserc.json b/lighthouserc.json index c839ba7..525b132 100644 --- a/lighthouserc.json +++ b/lighthouserc.json @@ -5,7 +5,7 @@ "url": ["http://localhost:4173/"], "numberOfRuns": 1, "settings": { - "chromeFlags": ["--headless=new", "--no-sandbox"] + "chromeFlags": ["--headless=new", "--no-sandbox", "--disable-gpu", "--disable-dev-shm-usage"] } }, "assert": {