Commit 68d6a58
committed
feat: Add Lighthouse CI workflow for performance testing
- Add GitHub Actions workflow for automated Lighthouse audits
- Configure Lighthouse CI with performance, accessibility, SEO, and best practices checks
- Add lighthouse npm script for local testing
- Update dependencies with @lhci/cli and lighthouse packages
- Configure .gitignore to exclude lighthouse reports
- Update README with testing information
The workflow runs on:
- Pull requests to master
- Pushes to master and lighthouse-ci-only branch
- Manual workflow dispatch
Lighthouse thresholds:
- Performance: 60% (warn)
- Accessibility: 80% (warn)
- Best Practices: 70% (warn)
- SEO: 70% (warn)1 parent cbcdef8 commit 68d6a58
File tree
5 files changed
+14
-0
lines changed- .github/workflows
5 files changed
+14
-0
lines changedWhitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
| |||
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
0 commit comments