2020-07-06 18:55:32 +00:00
|
|
|
---
|
|
|
|
ci:
|
|
|
|
collect:
|
2021-06-06 20:32:11 +00:00
|
|
|
numberOfRuns: 3
|
2020-07-06 18:55:32 +00:00
|
|
|
staticDistDir: exampleSite/public
|
|
|
|
url:
|
|
|
|
- http://localhost/
|
|
|
|
- http://localhost/404.html
|
2023-04-21 20:39:18 +00:00
|
|
|
- http://localhost/posts/usage/getting-started/
|
2020-07-06 18:55:32 +00:00
|
|
|
settings:
|
|
|
|
chromeFlags: "--no-sandbox"
|
|
|
|
assert:
|
|
|
|
preset: "lighthouse:no-pwa"
|
|
|
|
assertions:
|
|
|
|
uses-long-cache-ttl: off
|
2021-06-06 20:21:32 +00:00
|
|
|
csp-xss: off
|
2023-04-21 20:39:18 +00:00
|
|
|
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/14957
|
|
|
|
bf-cache: off
|
2021-06-06 20:32:11 +00:00
|
|
|
tap-targets: warn
|
|
|
|
unsized-images: warn
|
|
|
|
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/11460
|
|
|
|
categories:performance:
|
|
|
|
- warn
|
|
|
|
- minScore: 0.95
|
|
|
|
categories:accessibility:
|
|
|
|
- error
|
|
|
|
- minScore: 1
|
|
|
|
categories:seo:
|
|
|
|
- error
|
|
|
|
- minScore: 0.95
|
2020-07-16 08:13:40 +00:00
|
|
|
upload:
|
|
|
|
target: filesystem
|
|
|
|
outputDir: lhci_reports
|