Skip to content

cfpb/cfgov-lighthouse

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