normalize lighthouse config

This commit is contained in:
Robert Kaussow 2021-06-06 22:32:11 +02:00
parent fa74f6c2be
commit ba866b052f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -1,7 +1,7 @@
---
ci:
collect:
numberOfRuns: 2
numberOfRuns: 3
staticDistDir: exampleSite/public
url:
- http://localhost/
@ -15,12 +15,19 @@ ci:
preset: "lighthouse:no-pwa"
assertions:
uses-long-cache-ttl: off
render-blocking-resources: off
tap-targets: off
first-contentful-paint: off
first-meaningful-paint: off
largest-contentful-paint: off
csp-xss: off
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
upload:
target: filesystem
outputDir: lhci_reports