Lighthouse Scan for Home. #2274

Open
opened 2026-04-05 16:57:05 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @simlarsen on 5/21/2022

We have a /Home project which is basically the home page of the application. When you npm intall and npm start the project, it runs on port 1444.

It has several pages, however, there's no lighthouse scan for these pages. Lighthouse is a project by Google and it scans the page for performance, styling, etc etc. We need to scan all the pages in the home project on Lighthouse in the GitHub Runner.

So,

  • Create a GitHub Actions Job that runs the home project in a docker container.
  • After the home project is running, you can initiate lighthouse scans on the pages.
  • If the score of any page is <80%, we fail the job otherwise we pass the job.
  • We have one job for all the pages in the home project.
*Originally created by @simlarsen on 5/21/2022* We have a `/Home` project which is basically the home page of the application. When you npm intall and npm start the project, it runs on port 1444. It has several pages, however, there's no lighthouse scan for these pages. Lighthouse is a project by Google and it scans the page for performance, styling, etc etc. We need to scan all the pages in the home project on Lighthouse in the GitHub Runner. So, - Create a GitHub Actions Job that runs the home project in a docker container. - After the home project is running, you can initiate lighthouse scans on the pages. - If the score of any page is <80%, we fail the job otherwise we pass the job. - We have one job for all the pages in the home project.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#2274