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

Add LightHouse CI for the Community Website #68

Closed
HarshCasper opened this issue Oct 2, 2021 · 1 comment · Fixed by #92
Closed

Add LightHouse CI for the Community Website #68

HarshCasper opened this issue Oct 2, 2021 · 1 comment · Fixed by #92
Assignees
Labels

Comments

@HarshCasper
Copy link
Member

Description

The LightHouse CI should ideally:

  • Add lighthousesrc.json to identify the metrics we are looking to track.
  • Use the aaron-binary/vercel-preview-url-action@v0.0.3 action to grab the deployed preview link.
  • Use the treosh/lighthouse-ci-action to audit the preview link through LightHouse and upload generated files as artifact.
  • Use the actions/github-script and marocchino/sticky-pull-request-comment to mark the performance as a PR comment.

Some inspiration can be fetched from the following PR by @sarthakkundra on Docusaurus:

Note that it is using Netlify previews, instead of standard Vercel previews and it can be tweaked further for our use-case.

@rutujaingole
Copy link
Contributor

@HarshCasper I'd like to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants