Run Lighthouse in CI for accessibility and performance
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, typescript, vite
- Lĩnh vực
- accessibility, ci-cd, performance
Hướng nghiên cứu
Start by reading the existing workflows in .github/workflows/ and the build and preview scripts in apps/web/package.json, then docs/PERFORMANCE.md for current targets. Add a workflow that builds the web app, serves it with vite preview, and runs Lighthouse CI on the five listed pages with a path filter for apps/web. Done means failures name the page and audit, the report is saved as an artifact, and the run finishes in under 10 minutes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Difficulty: Intermediate · Estimated size: 1 day
Context
Accessibility and speed matter for a community platform, but they are only checked by hand.
Problem or goal
Run Lighthouse against the built site for the public pages and report the scores on each pull request.
Suggested approach
- Use Lighthouse CI against
vite previewfor/,/explore,/login,/register,/privacy. - Set minimum scores (for example accessibility 95, best practices 95, performance 80 on a throttled mobile profile). Start with warnings, then make them required once stable.
- Save the report as a workflow artifact.
Where to look
.github/workflows/apps/web/package.jsondocs/PERFORMANCE.md
Acceptance criteria
- The workflow runs on pull requests that change
apps/web. - Failures name the page and the failing audit.
- Runs finish in under 10 minutes.
How to work on it
- Comment here to claim it, so two people do not do the same work.
- Fork the repo and branch from
main(feat/short-nameorfix/short-name). Setup steps are in docs/DEVELOPMENT.md. - Keep the change focused and add tests for backend logic.
- Run
npm run typecheck,npm testandnpm run lintandnpm run formatbefore opening the pull request. - Use a Conventional Commits title (for example
feat(web): add bookmarks). More in CONTRIBUTING.md.
Stuck? Ask in this issue. Questions are welcome.
Generated by Claude Code
- Ngôn ngữ chính
- TypeScript
- Star
- 6
- Fork
- 6
- Merge trung bình
- 1 giờ 59 phút
- Pull request đã merge (30 ngày)
- 59
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Haseeb-MernStack/commune
-
enhancement good first issue web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Haseeb-MernStack/commune#141 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Haseeb-MernStack/commune#138 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
api good first issue tests
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
Haseeb-MernStack/commune#132 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ci good first issue tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Haseeb-MernStack/commune#133 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility good first issue web
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 74/100
Haseeb-MernStack/commune#117 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Haseeb-MernStack/commune
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
cursor/community-plugins#583 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A model answer with prose after its fenced JSON is rejected as NOT_JSONCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởafk-ok importer size:S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
enorm-labs/event-junkie#5404 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Wavvon/Wavvon-clients#493 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
answerLoops/answerLoops#679 ·
Maintainer thường phản hồi trong vòng 1 ngày