Skip to content

GitHub Action for running @GoogleChromeLabs Lighthouse audits with all the bells and whistles ๐Ÿ”” Multiple audits, Slack notifications, and more!

License

Notifications You must be signed in to change notification settings

ailadas/lighthouse-check-action

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Lighthouse Check Action

Lighthouse

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.

Features

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!

Quick Start

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'

Inputs and Advanced Configuration

For detailed documentation of all inputs and advanced configuration - visit the documentation!

Screenshots

Lighthouse Check GitHub action output Output Lighthouse Check GitHub action save artifacts Save HTML Reports as Artifacts Lighthouse Check GitHub action HTML report HTML Reports
Lighthouse Check PR comments PR Comments Lighthouse Check GitHub action Slack notification Slack Notifications Lighthouse Check GitHub action fail if scores don't meet minimum requirement on a PR Fail Workflow when Minimum Scores Aren't Met

Credits

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!

About

GitHub Action for running @GoogleChromeLabs Lighthouse audits with all the bells and whistles ๐Ÿ”” Multiple audits, Slack notifications, and more!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.5%
  • JavaScript 4.5%