fix(ci): add Chrome sandbox flags and fix CHROME_PATH for Lighthouse

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-03-31 19:23:55 +00:00
parent 6828e4d0a9
commit 5e165d277e
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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
LHCI_CHROME_PATH="$CHROME_PATH" lhci autorun
CHROME_PATH="$CHROME_PATH" lhci autorun --chrome-flags="--headless=new --no-sandbox"
build-and-push:
runs-on: runners-cartsnitch