1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-23 00:01:16 -04:00

run lighthouse tests on desktop instead of mobile

This commit is contained in:
2021-06-11 23:51:43 -04:00
parent a1293c5a25
commit a2445d236d
2 changed files with 14 additions and 10 deletions

View File

@@ -1,20 +1,20 @@
{
"ci": {
"collect": {
"numberOfRuns": 3
"numberOfRuns": 3,
"settings": {
"preset": "desktop",
"chromeFlags": "--no-sandbox"
}
},
"assert": {
"preset": "lighthouse:no-pwa",
"assertions": {
"color-contrast": "warn",
"csp-xss": "warn",
"errors-in-console": "warn",
"inspector-issues": "warn",
"link-text": "warn",
"long-tasks": "warn",
"non-composited-animations": "warn",
"total-byte-weight": ["warn", {"minScore": 0.9}],
"unminified-javascript": "warn",
"unsized-images": "warn",
"unused-css-rules": "warn",
"unused-javascript": "warn",
@@ -25,7 +25,8 @@
"uses-long-cache-ttl": "off",
"uses-responsive-images": "off",
"uses-webp-images": "off"
}
},
"includePassedAssertions": true
},
"upload": {
"target": "lhci",