Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a workflow to comment any diffs in a PR comment to the lighthouse score of the site #1038

Open
2 tasks
NabbeunNabi opened this issue Feb 12, 2025 · 0 comments
Labels
a11y accessibility CI/CD code quality enhancement New feature or request

Comments

@NabbeunNabi
Copy link
Contributor

Problem

We would like to maintain as high of a lighthouse score as possible, so need to make sure that new PRs do not introduce things that are detrimental to our google lighthouse score. We also want to encourage practices that improve our lighthouse scores and know when a PR improves our score

Success

A comment is generated in a PR that shows any differences in a PR between our current lighthouse score versus our past lighthouse score using GitHub actions.

Requirements

  • Add a workflow that generates a PR comment after comparing the lighthouse score of our live website versus the PR lighthouse score.
  • Explain in the PR how it works with a clear explanation and screenshots

Implementation notes

The file where the workflows are held are here. There is one already that can get the lighthouse scores. You can either build a new one or add it to the existing one.

@NabbeunNabi NabbeunNabi added a11y accessibility CI/CD code quality enhancement New feature or request labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y accessibility CI/CD code quality enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant