mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-21 12:40:39 +00:00
34 lines
775 B
YAML
34 lines
775 B
YAML
---
|
|
ci:
|
|
collect:
|
|
numberOfRuns: 3
|
|
staticDistDir: exampleSite/public
|
|
url:
|
|
- http://localhost/
|
|
- http://localhost/404.html
|
|
- http://localhost/posts/
|
|
settings:
|
|
chromeFlags: "--no-sandbox"
|
|
throttling:
|
|
cpuSlowdownMultiplier: "2.0"
|
|
assert:
|
|
preset: "lighthouse:no-pwa"
|
|
assertions:
|
|
uses-long-cache-ttl: 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
|