GitHub Action
Lighthouse Check
A GitHub Action for running Lighthouse audits automatically in CI workflows. Lighthouse Check Action provides simple configuration and a long list of features for advanced customization including Slack notifications, AWS S3 HTML report uploads, and more! Check out the docs to get started with advanced configurations or refer to the quick start section below.
This project differs from others with its ease of use for simple cases and numerous features for advanced needs.
- โจ Lighthouse audit multiple URLs or just one.
- ๐ฌ PR comments of audit scores.
- ๐ Save HTML reports locally.
- ๐ Upload HTML reports as artifacts.
- ๐ Upload HTML reports to AWS S3.
- ๐ฅ Fail a workflow when minimum scores aren't met.
- ๐๏ธ Slack notifications with Git info (author, branch, PR, etc).
- ๐ Easily save a record of all your audits via Foo's free service.
- ๐ค Detailed documentation!
name: Lighthouse
on: [pull_request]
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Lighthouse
uses: foo-software/lighthouse-check-action@master
with:
urls: 'https://www.foo.software,https://www.google.com'
For detailed documentation of all inputs and advanced configuration - visit the documentation!
Output | Save HTML Reports as Artifacts | HTML Reports |
PR Comments | Slack Notifications | Fail Workflow when Minimum Scores Aren't Met |
This package was brought to you by Foo - a website quality monitoring tool. Automatically test and monitor website performance, SEO and accessibility with Lighthouse. Analyze historical records of Lighthouse tests with automated monitoring. Report with confidence about SEO and performance improvements to stay on top of changes when they happen!