A GitHub Action for running Google Lighthouse audits on webpages to test performance, accessibility, SEO, and more.
Lighthouse Action is a GitHub Action that runs Google Lighthouse audits on webpages to test Performance, Accessibility, Best Practices, SEO, and Progressive Web Apps. It automates quality checks in CI/CD pipelines, providing scores and detailed reports to help developers maintain high web standards.
Web developers and teams using GitHub Actions who want to integrate automated performance, accessibility, and SEO testing into their continuous integration workflows.
It offers a simple, automated way to run Lighthouse audits directly within GitHub Actions, with support for Netlify deploy previews and artifact uploads, eliminating manual testing and ensuring consistent web quality.
💡🏠 GitHub Action for running @GoogleChromeLabs Lighthouse webpage audits
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Integrates directly into GitHub Actions workflows with minimal YAML configuration, as shown in the example workflow files for both live URLs and Netlify previews.
Automatically audits Netlify deploy preview URLs on pull requests by extracting the PR number, simplifying preview testing without manual URL setup.
Uploads detailed HTML and JSON Lighthouse reports as artifacts, allowing for in-depth analysis and historical tracking, as demonstrated in the screenshot examples.
Prints scores for Performance, Accessibility, Best Practices, SEO, and PWA directly in the CI output for quick assessment, with clear visual feedback in the README.
The README admits that failing CI on low scores is a planned feature, so currently it only reports scores without blocking builds, limiting its use for strict quality gates.
Customizing Lighthouse or Chrome flags is not yet supported, as listed in the to-do, restricting advanced audit configurations and forcing workarounds for specific needs.
While it supports Netlify deploy previews, other hosting services like Vercel or AWS require manual URL handling, reducing flexibility for teams using alternative platforms.