temp switch to warn instead of error for the performance category

uci-hugo-doc
Robert Kaussow 2020-09-19 15:48:14 +02:00
parent a7024b87b7
commit 329021eb8f
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 3 additions and 3 deletions

View File

@ -9,16 +9,15 @@ ci:
- http://localhost/posts/ - http://localhost/posts/
settings: settings:
chromeFlags: "--no-sandbox" chromeFlags: "--no-sandbox"
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/11460
throttlingMethod: devtools
assert: assert:
preset: "lighthouse:no-pwa" preset: "lighthouse:no-pwa"
assertions: assertions:
uses-long-cache-ttl: off uses-long-cache-ttl: off
tap-targets: warn tap-targets: warn
unsized-images: warn unsized-images: warn
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/11460
categories:performance: categories:performance:
- error - warn
- minScore: 0.95 - minScore: 0.95
categories:accessibility: categories:accessibility:
- error - error

View File

@ -13,6 +13,7 @@
<link rel="preload" as="font" href="/fonts/LiberationSans-Italic.woff2" type="font/woff2" crossorigin="anonymous"> <link rel="preload" as="font" href="/fonts/LiberationSans-Italic.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/fonts/LiberationMono.woff2" type="font/woff2" crossorigin="anonymous"> <link rel="preload" as="font" href="/fonts/LiberationMono.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/fonts/DroidSans.woff2" type="font/woff2" crossorigin="anonymous"> <link rel="preload" as="font" href="/fonts/DroidSans.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" as="font" href="/fonts/GeekdocIcons.woff2" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="{{ "main.min.css" | relURL }}" as="style"> <link rel="preload" href="{{ "main.min.css" | relURL }}" as="style">
<link rel="stylesheet" href="{{ "main.min.css" | relURL }}" media="screen"> <link rel="stylesheet" href="{{ "main.min.css" | relURL }}" media="screen">