Skip to content

feat(ci): Lighthouse CI autorun 90+ scores all categories#219

Open
Olisachukwuma1 wants to merge 2 commits into
kellymusk:mainfrom
Olisachukwuma1:feat/lighthouse-ci-90
Open

feat(ci): Lighthouse CI autorun 90+ scores all categories#219
Olisachukwuma1 wants to merge 2 commits into
kellymusk:mainfrom
Olisachukwuma1:feat/lighthouse-ci-90

Conversation

@Olisachukwuma1
Copy link
Copy Markdown
Contributor

@Olisachukwuma1 Olisachukwuma1 commented May 31, 2026

  • lighthouserc.json: raise all thresholds to 0.9, add per-audit assertions (LCP <2.5s, TBT <300ms, CLS <0.1, FCP <1.8s)
  • .github/workflows/ci.yml: add lighthouse job after build, fails CI if any score <90
  • next.config.mjs: enable image optimization (avif/webp), add security headers (X-Frame-Options, CSP, Referrer-Policy)
  • app/layout.tsx: enable font preloading for LCP, fix generator tag, add robots + OpenGraph metadata

closes #155

- lighthouserc.json: raise all thresholds to 0.9, add per-audit assertions (LCP <2.5s, TBT <300ms, CLS <0.1, FCP <1.8s)
- .github/workflows/ci.yml: add lighthouse job after build, fails CI if any score <90
- next.config.mjs: enable image optimization (avif/webp), add security headers (X-Frame-Options, CSP, Referrer-Policy)
- app/layout.tsx: enable font preloading for LCP, fix generator tag, add robots + OpenGraph metadata
@vercel
Copy link
Copy Markdown

vercel Bot commented May 31, 2026

@PaveGroupeDev2 is attempting to deploy a commit to the kelly musk's projects Team on Vercel.

A member of the Team first needs to authorize it.

- lighthouserc.json: remove startServerCommand (conflicts with workflow server start), fix assertion syntax (maxLength -> minScore for boolean audits)
- ci.yml: consolidate server start + lhci autorun into single step to avoid race conditions, capture PID for clean shutdown
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 31, 2026

@Olisachukwuma1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

39. Lighthouse performance optimization

2 participants