hugo-geekdoc/.lighthouserc.yml

35 lines
861 B
YAML
Raw Permalink Normal View History

2020-06-01 13:59:02 +00:00
---
ci:
collect:
2020-09-19 10:23:14 +00:00
numberOfRuns: 3
2020-06-01 13:59:02 +00:00
staticDistDir: exampleSite/public
url:
- http://localhost/
- http://localhost/404.html
- http://localhost/usage/getting-started/
2020-06-01 13:59:02 +00:00
settings:
chromeFlags: "--no-sandbox"
assert:
preset: "lighthouse:no-pwa"
assertions:
uses-long-cache-ttl: off
csp-xss: off
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/14957
bf-cache: off
2020-09-19 10:23:14 +00:00
tap-targets: warn
unsized-images: warn
image-size-responsive: warn
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/11460
2020-09-19 10:23:14 +00:00
categories:performance:
- warn
2020-09-19 10:23:14 +00:00
- minScore: 0.95
categories:accessibility:
- error
- minScore: 1
categories:seo:
- error
- minScore: 0.95
2020-07-17 08:34:52 +00:00
upload:
target: filesystem
outputDir: lhci_reports