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
|
2023-04-19 14:28:08 +00:00
|
|
|
- http://localhost/usage/getting-started/
|
2020-06-01 13:59:02 +00:00
|
|
|
settings:
|
2024-10-27 21:23:27 +00:00
|
|
|
chromeFlags: "--no-sandbox --headless --disable-dev-shm-usage"
|
2024-01-07 15:24:22 +00:00
|
|
|
onlyCategories: ["performance", "accessibility", "best-practices", "seo"]
|
|
|
|
skipAudits:
|
|
|
|
[
|
|
|
|
"color-contrast",
|
|
|
|
"uses-long-cache-ttl",
|
|
|
|
"csp-xss",
|
|
|
|
"bf-cache",
|
|
|
|
"is-crawlable",
|
|
|
|
"image-size-responsive",
|
|
|
|
"render-blocking-resources",
|
|
|
|
"largest-contentful-paint"
|
|
|
|
]
|
2020-06-01 13:59:02 +00:00
|
|
|
assert:
|
|
|
|
preset: "lighthouse:no-pwa"
|
|
|
|
assertions:
|
2023-08-25 21:16:59 +00:00
|
|
|
color-contrast: off
|
2020-06-01 13:59:02 +00:00
|
|
|
uses-long-cache-ttl: off
|
2021-06-06 20:31:42 +00:00
|
|
|
csp-xss: off
|
2023-04-19 14:28:08 +00:00
|
|
|
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/14957
|
|
|
|
bf-cache: off
|
2023-08-25 21:16:59 +00:00
|
|
|
is-crawlable: off
|
|
|
|
image-size-responsive: off
|
2024-01-07 15:24:22 +00:00
|
|
|
render-blocking-resources: off
|
|
|
|
largest-contentful-paint: off
|
2024-01-08 07:32:21 +00:00
|
|
|
total-byte-weight: warn
|
|
|
|
identical-links-same-purpose: warn
|
2020-09-19 10:23:14 +00:00
|
|
|
tap-targets: warn
|
|
|
|
unsized-images: warn
|
2020-09-19 13:48:14 +00:00
|
|
|
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/11460
|
2020-09-19 10:23:14 +00:00
|
|
|
categories:performance:
|
2020-09-19 13:48:14 +00:00
|
|
|
- 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
|