mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-22 05:00:39 +00:00
normalize lighthouse config
This commit is contained in:
parent
fa74f6c2be
commit
ba866b052f
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
ci:
|
ci:
|
||||||
collect:
|
collect:
|
||||||
numberOfRuns: 2
|
numberOfRuns: 3
|
||||||
staticDistDir: exampleSite/public
|
staticDistDir: exampleSite/public
|
||||||
url:
|
url:
|
||||||
- http://localhost/
|
- http://localhost/
|
||||||
@ -15,12 +15,19 @@ ci:
|
|||||||
preset: "lighthouse:no-pwa"
|
preset: "lighthouse:no-pwa"
|
||||||
assertions:
|
assertions:
|
||||||
uses-long-cache-ttl: off
|
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
|
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:
|
upload:
|
||||||
target: filesystem
|
target: filesystem
|
||||||
outputDir: lhci_reports
|
outputDir: lhci_reports
|
||||||
|
Loading…
Reference in New Issue
Block a user