mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-30 15:22:09 +00:00
Update lighthouserc
This commit is contained in:
parent
c844256b8d
commit
0aac08a699
1 changed files with 4 additions and 8 deletions
|
@ -29,9 +29,7 @@ ci:
|
||||||
cumulative-layout-shift:
|
cumulative-layout-shift:
|
||||||
- warn
|
- warn
|
||||||
- maxNumericValue: 0
|
- maxNumericValue: 0
|
||||||
robots-txt: "off" # Lighthouse bug: CSP makes this impossible
|
|
||||||
canonical: "off" # staging site has no rel=canonical
|
canonical: "off" # staging site has no rel=canonical
|
||||||
is-crawlable: "off" # staging site isn't crawlable
|
|
||||||
service-worker: "off" # not a PWA
|
service-worker: "off" # not a PWA
|
||||||
works-offline: "off" # not a PWA
|
works-offline: "off" # not a PWA
|
||||||
installable-manifest: "off" # not a PWA
|
installable-manifest: "off" # not a PWA
|
||||||
|
@ -45,9 +43,7 @@ ci:
|
||||||
budgetPath: budget.json
|
budgetPath: budget.json
|
||||||
chromeFlags: "--disable-gpu --no-sandbox --disable-extensions --no-first-run --headless"
|
chromeFlags: "--disable-gpu --no-sandbox --disable-extensions --no-first-run --headless"
|
||||||
skipAudits:
|
skipAudits:
|
||||||
- robots-txt
|
|
||||||
- canonical
|
- canonical
|
||||||
- is-crawlable
|
|
||||||
- service-worker
|
- service-worker
|
||||||
- works-offline
|
- works-offline
|
||||||
- installable-manifest
|
- installable-manifest
|
||||||
|
@ -56,12 +52,12 @@ ci:
|
||||||
- offline-start-url
|
- offline-start-url
|
||||||
- offscreen-images
|
- offscreen-images
|
||||||
throttling:
|
throttling:
|
||||||
cpuSlowdownMultiplier: 4.2 # seems about right on builds.sr.ht
|
cpuSlowdownMultiplier: 1
|
||||||
throttlingMethod: devtools
|
throttlingMethod: devtools
|
||||||
url:
|
url:
|
||||||
- https://staging.seirdy.one/
|
- https://seirdy.one/
|
||||||
- https://staging.seirdy.one/about.html
|
- https://seirdy.one/about.html
|
||||||
- https://staging.seirdy.one/2020/11/23/website-best-practices.html
|
- https://seirdy.one/2020/11/23/website-best-practices.html
|
||||||
numberOfRuns: 3
|
numberOfRuns: 3
|
||||||
upload:
|
upload:
|
||||||
outputDir: lighthouse-reports
|
outputDir: lighthouse-reports
|
||||||
|
|
Loading…
Reference in a new issue