Skip to content

Commit

Permalink
ci: config lighthouse
Browse files Browse the repository at this point in the history
  • Loading branch information
fuuuzz committed Feb 6, 2025
1 parent 3bbf9f3 commit 411e2f8
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions client/.lighthouse-mobile.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,26 @@
"ci": {
"collect": {
"url": ["http://localhost:4173"],
"numberOfRuns": 1
"numberOfRuns": 1,
"settings": {
"maxWaitForLoad": 15000,
"formFactor": "mobile",
"emulatedUserAgent": "Mozilla/5.0 (Linux; Android 11; moto g power (2022)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Mobile Safari/537.36",
"screenEmulation": {
"mobile": true,
"width": 412,
"height": 823
},
"throttling": {
"rttMs": "150",
"throughputKbps": 1638.4,
"requestLatencyMs": 562
}
}
},
"assert": {
"assertions": {
"categories:performance": ["error", { "minScore": 0.1 }],
"categories:performance": ["error", { "minScore": 0.8 }],
"categories:accessibility": ["error", { "minScore": 1 }]
}
}
Expand Down

0 comments on commit 411e2f8

Please sign in to comment.