Skip to content

Add Google Lighthouse audits to CI #716

@shivambisen

Description

@shivambisen

Story

Last week, while exploring SEO audits, I came across Google Lighthouse a widely adopted tool for monitoring website performance, accessibility, best practices, and SEO scores. Lighthouse is incredibly useful but requires running audits on a per-page basis. This means that for websites with many pages, the audit process can be time-consuming if run on all pages every time.


Solution

I was thinking integrating Lighthouse audits into our CI pipeline using Lighthouse CI. This tool can automate audits during each commit, capturing before-and-after metrics for every affected page and provide detailed report . This setup will allow contributors and mentors to monitor SEO scores continuously, immediately identifying regressions or improvements in the codebase.

By automating this process, every commit or pull request will trigger Lighthouse audits that help ensure performance and SEO benchmarks are maintained and improved. This also enhances overall code quality, as everyone can see if their contribution might compromise website performance and can make improvements accordingly.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions