Skip to content

Commit

Permalink
feat: add Lighthouse CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thekavikumar committed Jul 31, 2024
1 parent e15d8ee commit 236f345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Run Lighthouse on production build
id: lighthouse-production
run: lighthouse http://localhost:3000 --output html --output-path ./lighthouse-production.html --view
run: lighthouse http://localhost:3000 --output html --output-path ./lighthouse-production.html --chrome-flags="--headless --no-sandbox --disable-gpu" --view

- name: Display Lighthouse report
run: cat ./lighthouse-production.json | jq
Expand Down

0 comments on commit 236f345

Please sign in to comment.