Skip to content

Commit

Permalink
performance budget test
Browse files Browse the repository at this point in the history
  • Loading branch information
tukwan committed Sep 7, 2024
1 parent 4e9b01b commit 0861cfd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lighthouserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@
"startServerCommand": "npm run start",
"startServerReadyPattern": "Ready",
"startServerReadyTimeout": 10000,
"numberOfRuns": 3,
"numberOfRuns": 4,
"settings": {
"preset": "desktop"
}
},
"assert": {
"preset": "lighthouse:recommended"
"assertions": {
"categories:performance": ["warn", { "minScore": 0.5 }],
"categories:accessibility": ["warn", { "minScore": 0.7 }],
"categories:best-practices": ["warn", { "minScore": 0.7 }],
"categories:seo": ["warn", { "minScore": 0.7 }]
}
},
"upload": {
"target": "temporary-public-storage"
Expand Down

0 comments on commit 0861cfd

Please sign in to comment.