-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: integrate Lighthouse CI and add performance assertions in new w…
…orkflow
- Loading branch information
Showing
4 changed files
with
2,795 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,7 @@ coverage/ | |
/blob-report/ | ||
/playwright/.cache/ | ||
/playwright/.auth | ||
|
||
# lighthouse reports | ||
/lhci_reports | ||
.lighthouseci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"ci": { | ||
"collect": { | ||
"url": ["http://localhost:5173"], | ||
"numberOfRuns": 1 | ||
}, | ||
"assert": { | ||
"assertions": { | ||
"first-contentful-paint": ["warn", { "maxNumericValue": 6700 }], | ||
"speed-index": ["warn", { "maxNumericValue": 8500 }], | ||
"largest-contentful-paint": ["warn", { "maxNumericValue": 8500 }], | ||
"interactive": ["warn", { "maxNumericValue": 11000 }] | ||
} | ||
}, | ||
"upload": { | ||
"target": "filesystem", | ||
"outputDir": "./lhci_reports", | ||
"output": ["html"] | ||
} | ||
} | ||
} |
Oops, something went wrong.
a570814
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://65ad7c4a31747e9fa53595d4--aesthetic-jalebi-84d3c0.netlify.app