Automate Lighthouse Audits with GitHub Actions

InstructorErin Doyle

Share this video with your friends

Send Tweet

To automate running Lighthouse audits on our application we can add the use of the Lighthouse CI tool to our Continuous Integration suite using GitHub Actions. By making use of the Lighthouse CI GitHub App we can add to the checks in every Pull Request a report with the score from the audit run on each URL we configure for Lighthouse to audit.

Resources

  • https://github.com/GoogleChrome/lighthouse-ci/blob/main/docs/getting-started.md
  • https://github.com/GoogleChrome/lighthouse-ci/blob/main/docs/configuration.md
  • https://github.com/apps/lighthouse-ci