2020-12-24 01:02:43 +00:00
|
|
|
---
|
|
|
|
ci:
|
|
|
|
assert:
|
|
|
|
preset: lighthouse:recommended
|
|
|
|
assertions:
|
|
|
|
performance-budget: "error"
|
|
|
|
render-blocking-resources:
|
|
|
|
- warn
|
|
|
|
# the CSS file.
|
|
|
|
# My site doesn't use JS so it doesn't use the recommended async hack
|
|
|
|
- maxLength: 1
|
|
|
|
timing-budget: "off" # buggy; manually use the below assertions instead
|
2020-12-27 05:20:59 +00:00
|
|
|
# https://seirdy.one/2020/11/23/website-best-practices.html#about-lazy-loading
|
2020-12-24 01:02:43 +00:00
|
|
|
speed-index:
|
|
|
|
- warn
|
2020-12-28 23:32:52 +00:00
|
|
|
- maxNumericValue: 2000
|
2020-12-24 01:02:43 +00:00
|
|
|
largest-contentful-paint:
|
|
|
|
- warn
|
2020-12-28 23:32:52 +00:00
|
|
|
- maxNumericValue: 2000
|
2020-12-24 01:02:43 +00:00
|
|
|
first-contentful-paint:
|
|
|
|
- warn
|
2020-12-28 23:32:52 +00:00
|
|
|
- maxNumericValue: 2000
|
2020-12-24 01:02:43 +00:00
|
|
|
first-meaningful-paint:
|
|
|
|
- warn
|
2020-12-28 23:32:52 +00:00
|
|
|
- maxNumericValue: 2000
|
2020-12-24 01:02:43 +00:00
|
|
|
total-blocking-time:
|
|
|
|
- warn
|
|
|
|
- maxNumericValue: 0
|
|
|
|
cumulative-layout-shift:
|
|
|
|
- warn
|
|
|
|
- maxNumericValue: 0
|
2020-12-29 03:00:45 +00:00
|
|
|
canonical: "off" # staging site has no rel=canonical
|
|
|
|
service-worker: "off" # not a PWA
|
|
|
|
works-offline: "off" # not a PWA
|
|
|
|
installable-manifest: "off" # not a PWA
|
|
|
|
splash-screen: "off" # not a PWA
|
|
|
|
themed-omnibox: "off" # not a PWA
|
|
|
|
offline-start-url: "off" # not a pwa
|
|
|
|
offscreen-images: "off" # antipattern: see my article on best practices for textual websites
|
2020-12-24 01:02:43 +00:00
|
|
|
collect:
|
|
|
|
method: node
|
|
|
|
settings:
|
|
|
|
budgetPath: budget.json
|
|
|
|
chromeFlags: "--disable-gpu --no-sandbox --disable-extensions --no-first-run --headless"
|
|
|
|
skipAudits:
|
2020-12-29 03:00:45 +00:00
|
|
|
- canonical
|
|
|
|
- service-worker
|
|
|
|
- works-offline
|
|
|
|
- installable-manifest
|
|
|
|
- splash-screen
|
|
|
|
- themed-omnibox
|
|
|
|
- offline-start-url
|
|
|
|
- offscreen-images
|
2020-12-24 01:02:43 +00:00
|
|
|
throttling:
|
2021-07-08 21:56:08 +00:00
|
|
|
cpuSlowdownMultiplier: 1
|
2020-12-24 01:02:43 +00:00
|
|
|
throttlingMethod: devtools
|
|
|
|
url:
|
2021-07-08 21:56:08 +00:00
|
|
|
- https://seirdy.one/
|
|
|
|
- https://seirdy.one/about.html
|
|
|
|
- https://seirdy.one/2020/11/23/website-best-practices.html
|
2020-12-24 05:47:58 +00:00
|
|
|
numberOfRuns: 3
|
2020-12-24 01:02:43 +00:00
|
|
|
upload:
|
|
|
|
outputDir: lighthouse-reports
|
2020-12-24 05:47:58 +00:00
|
|
|
reportFilenamePattern: lighthouse-report-%%PATHNAME%%.%%EXTENSION%%
|
2020-12-24 01:02:43 +00:00
|
|
|
target: filesystem
|