This is a customized workflow for running a local web server hosting the docs
directory before running the Lighthouse check.
- checkout the repository
- generate a certificate
- run a
nginx
server with the certificate onhttps://localhost/todos
- launch treosh/lighthouse-ci-action with the
lighthouserc.yml
configuration onhttps://localhost/todos
- upload Lighthouse reports as artifacts
- report averaged scores as a Github comment with badges