rolling-scopes / site

🦥🛼 Website supporting The Rolling Scopes and The Rolling Scopes School educational process
https://rollingscopes.com
6 stars 8 forks source link

Implement Automated Lighthouse Testing for PR Deployments #336

Closed dzmitry-varabei closed 1 week ago

dzmitry-varabei commented 1 week ago

Description

To enhance the quality and performance of our web application, we propose integrating automated Lighthouse testing for each Pull Request (PR) deployment. Lighthouse is an open-source tool by Google that audits performance, accessibility, SEO, and more.

Goals

  1. Automate Testing:

    • Trigger Lighthouse tests automatically for each PR deployment.
    • Capture and store test reports as CI/CD artifacts.
  2. Monitor and Improve Quality:

    • Continuously monitor key performance and quality metrics.
    • Identify and fix issues early in the development cycle.

Implementation Steps

  1. CI/CD Configuration:

    • Integrate Lighthouse tests into the current CI/CD pipeline (e.g., using GitHub Actions).
    • Configure tests to run on PR deployment.
  2. Result Collection and Display:

    • Save Lighthouse reports as CI/CD build artifacts.
    • Set up notifications for test results (e.g., in PR comments or via email).

Expected Outcomes