feature/optimize #14
@@ -43,11 +43,8 @@ jobs:
|
||||
# 4. Lighthouse Audit (Performance & SEO)
|
||||
- name: Lighthouse CI
|
||||
run: |
|
||||
# 1. Where is pupeteer/chrome?
|
||||
CHROME_PATH=$(node -e 'console.log(require("puppeteer").executablePath())')
|
||||
# 2. Setting the path
|
||||
export CHROME_PATH=$CHROME_PATH
|
||||
# 3. Starting lighthouse
|
||||
CHROME_PATH=$(node -e 'console.log(require("puppeteer").executablePath())')
|
||||
export CHROME_PATH=$CHROME_PATH
|
||||
npx lhci autorun
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user