Lighthouse is an open-source, automated tool for improving the quality of web pages. You can run it against any web page, public or requiring authentication.
We can install Light house as a plugin in Chrome with https://developers.google.com/web/tools/lighthouse#devtools.
Currently we are having a pretty nice score in lighthouse.
With the support of Github Workflow, we have integrated lighthouse in 2 flows
- When creating/updating new PR, lighthouse will be running against localhost with the configuration at
.lighthouse/lighthouserc-local.json
. - When merging or push commit into master bracnh, ighthouse will be running against https://phatho-folio.now.sh/ with the configuration at
.lighthouse/lighthouserc-prod.json
.
- Storing lighthouse report for references.
- Running lighthouse against multiple mobile/desktop