Skip to content

cfpb/cfgov-lighthouse

This branch is up to date with main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e3e6a69 · Feb 8, 2025
Dec 12, 2024
Feb 8, 2025
Sep 3, 2024
Aug 26, 2024
Oct 7, 2021
Sep 3, 2024
Aug 25, 2020
Oct 6, 2022
Aug 25, 2020
Aug 25, 2020
Oct 13, 2022
Aug 25, 2020
Aug 31, 2021
Sep 3, 2024
Sep 3, 2024
Sep 3, 2024

Repository files navigation

cfgov-lighthouse

Automated testing of consumerfinance.gov using Lighthouse CI.

Getting started

To serve the Lighthouse Report Summary dashboard on your local machine, use the command yarn && yarn serve and visit http://127.0.0.1:8080 (hit ctrl + c when you're ready to stop the server).

Run Lighthouse audit

To run a Lighthouse audit, use the command yarn lighthouse. This command looks for a file named urls.txt, containing a list of relative URL paths to test. If this file does not exist, only the root of the domain is tested.

This repository is automatically updated each night using GitHub Actions. The relative URLs being tested are loaded from a URL configured using a repository secret named TEST_PAGES_URL.

Getting involved

See CONTRIBUTING.


Open source licensing info

  1. TERMS
  2. LICENSE
  3. CFPB Source Code Policy