Automated testing of consumerfinance.gov using Lighthouse CI.
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).
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
.
See CONTRIBUTING.