Install a github action to run Lighthouse on PR
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách xem xét các repository coursework Table-of-Contents và CYF-Coursework-Template, cùng với các workflow GitHub Actions hiện có của chúng. Xác định cách chạy Lighthouse trên các pull request và báo cáo điểm số của nó, sau đó xác minh rằng ngưỡng accessibility khiến PR chuyển thành bản nháp. Được xem là hoàn tất khi workflow hoạt động cho các repository coursework và tương thích với thiết lập GitHub Actions hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I want to do this:
Install a github action to run Lighthouse on PR
These are the coursework repos: https://github.com/CodeYourFuture/Table-of-Contents
These are the template repos: https://github.com/CodeYourFuture/CYF-Coursework-Template
Given a coursework repo
When a trainee opens a pull request
And the coursework contains or produces complete HTML pages
Then Lighthouse is run
And the score is reported on the pull request
When the score is less than 100 on Accessibility
Then the PR is set to draft
Here’s why I want to do it:
We have found that Lighthouse is really helpful for helping trainees evaluate their own code
Setting a lighthouse report on PR is useful for trainees and volunteers to check basic front end quality
Here’s how it serves our goals:
- automation frees up volunteers for meaningful technical mentorship
- we want trainees to write good code and this will help them and help them see how to fix things
- Also listed on Syllabus https://github.com/CodeYourFuture/syllabus/issues/529
This is how much time I can put towards this change:
- I can spend 3 hours over 4 weeks testing this for a devops person and merging it in to relevant repos, but I cannot teach someone to do this and then test it for them -- I need devops people to take this forward as I don't have capacity
This is the help I need from others to get this done (if any):
- a devops grad or volunteer to put this in place
- @Dedekind561 to keep an eye on how it will work with his github actions
- Ngôn ngữ chính
- JavaScript
- Star
- 3
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 CodeYourFuture/Changes
-
CYF Pathways 2.0 proposalĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
CodeYourFuture/Changes#13 ·
-
Answer common questions from applicants in the ITD Slack spaceCó thể làm lại được @alecmccrindle đã nhận 1259 ngày trước và không có pull request nào đang mở. Đang mởResources needed Skills Staff Time
CodeYourFuture/Changes#12 · 4 bình luận · 1 người được giao ·
-
Answer common questions from applicants, volunteers and partners on the CYF websiteCó thể làm lại được @alecmccrindle đã nhận 1259 ngày trước và không có pull request nào đang mở. Đang mởResources needed Skills Staff Time
CodeYourFuture/Changes#11 · 6 bình luận · 1 người được giao ·
-
CYF JumpstartĐang mởSkills Staff Tech Ed Volunteers
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
CodeYourFuture/Changes#10 · 7 bình luận ·
-
Resources needed Skills Tech Ed Time Trainees
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
CodeYourFuture/Changes#9 · 8 bình luận ·
Tất cả issue của CodeYourFuture/Changes
Issue tương tự
-
bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
Jason-Vaughan/TangleClaw#3270 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Go - Inconsistent Logs StabilityĐang mởdocs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
open-telemetry/opentelemetry.io#12846 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Beginner Enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
JSPrismarine/JSPrismarine#3740 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
xdelmo/Portfolio-minimal#637 ·
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 62/100
angrymrt/wiskunde-fit#242 ·
Maintainer thường phản hồi trong vòng 1 ngày