Lighthouse CI on Azure
Web development
This solution provides continuous integration and deployment processes using GitHub workflow to create and maintain a Lighthouse CI solution hosted on Microsoft's Azure platform.
This solution also provides a demo Web application so the Lighthouse would able to run the audits on it.
Main Components
Demo Web Application:Web application that is used to run the Lighthouse audits on it.Lighthouse CI Client:Responsible for running the Lighthouse audits on the demo Web application.Lighthouse CI Server:Responsible for storing the Lighthouse audits reports, and providing a web interface for viewing the reports.
Hight Level Architecture
On every push to the main
branch, the GitHub Actions workflow will run the following steps:
- 1️⃣Deploy the demo Web application to a staging slot.
- 2️⃣Run the Lighthouse audits on the staging slot and store the reports in the Lighthouse CI Server.
- 3️⃣If the audits passed, swap the demo Web application's staging slot with the production slot.