feat: add Lighthouse CI performance budget enforcement #22
No reviewers
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/website-template!22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/lighthouse-ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
npm run lighthouse-ciscript that runs Lighthouse audits against built instance HTML files ininstances/*/.lighthouserc.json(Performance >= 90, Accessibility >= 95, Best Practices >= 90, SEO >= 90)staticDistDirto serve files temporarily)Files changed
package.json— new, withlighthouse-ciscript and@lhci/clidev dependency.lighthouserc.json— new, budget thresholds and Lighthouse collect settingsscripts/lighthouse-ci.js— new, runner that discovers instances, runs Lighthouse, prints budget report.gitignore— added LHCI temp file patternspackage-lock.json— generated lockfileTest plan
npm install && npm run lighthouse-ciin an environment with Chrome available.lighthouserc.jsonbudgets and confirm changes are respected🤖 Generated with Claude Code
⚠️ No Test Suite Detected
Commit:
3f60b259No
testscript found inpackage.json. Add a test script to enable automated testing.Pull request closed