https://github.com/bep/netlify-lighthouse-test
Just a simple test repo to test Lighthouse with Netlify.
https://github.com/bep/netlify-lighthouse-test
Last synced: 10 months ago
JSON representation
Just a simple test repo to test Lighthouse with Netlify.
- Host: GitHub
- URL: https://github.com/bep/netlify-lighthouse-test
- Owner: bep
- License: mit
- Created: 2021-08-18T07:51:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-13T11:07:18.000Z (about 4 years ago)
- Last Synced: 2025-02-13T14:41:08.906Z (about 1 year ago)
- Language: JavaScript
- Size: 60.5 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A test setup for Lighthouse tests of Netlify PR previews.
Some notes:
* It tests Mobile and Desktop by doing two runs with `additive: true` and the preset appended to every URL (see https://github.com/GoogleChrome/lighthouse-ci/issues/138). This is not pretty, but I think it's the only current way.
* It reports the summary result as a PR comment (2 markdown tables).
Note to self: This setup does not work for PRs from private forks. See https://github.com/bep/netlify-cypress-test for a workaround.