Install a github action to run Lighthouse on PR
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Beginne mit der Überprüfung der Table-of-Contents- und CYF-Coursework-Template-Repositories für Kursarbeiten sowie ihrer vorhandenen GitHub Actions-Workflows. Ermittle, wie Lighthouse auf Pull Requests ausgeführt werden und seinen Score melden kann, und überprüfe anschließend, dass der Accessibility-Schwellenwert dazu führt, dass der PR zu einem Draft wird. Die Aufgabe ist abgeschlossen, wenn der Workflow für Repositories für Kursarbeiten funktioniert und mit dem vorhandenen GitHub Actions-Setup kompatibel ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- JavaScript
- Sterne
- 3
- Forks
- 4
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CodeYourFuture/Changes
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
CodeYourFuture/Changes#13 ·
-
Answer common questions from applicants in the ITD Slack spaceEvtl. wieder frei @alecmccrindle hat das vor 1259 Tagen übernommen, und es ist kein Pull Request offen. OffenResources needed Skills Staff Time
CodeYourFuture/Changes#12 · 4 Kommentare · 1 zugewiesene Person ·
-
Answer common questions from applicants, volunteers and partners on the CYF websiteEvtl. wieder frei @alecmccrindle hat das vor 1259 Tagen übernommen, und es ist kein Pull Request offen. OffenResources needed Skills Staff Time
CodeYourFuture/Changes#11 · 6 Kommentare · 1 zugewiesene Person ·
-
CYF JumpstartOffenSkills Staff Tech Ed Volunteers
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 20/100
CodeYourFuture/Changes#10 · 7 Kommentare ·
-
Resources needed Skills Tech Ed Time Trainees
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
CodeYourFuture/Changes#9 · 8 Kommentare ·
Alle Issues in CodeYourFuture/Changes
Ähnliche Issues
-
bug
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Jason-Vaughan/TangleClaw#3270 ·
Maintainer antworten meist innerhalb von 1 Tag
-
docs
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
open-telemetry/opentelemetry.io#12846 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Beginner Enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
JSPrismarine/JSPrismarine#3740 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
xdelmo/Portfolio-minimal#637 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
angrymrt/wiskunde-fit#242 ·
Maintainer antworten meist innerhalb von 1 Tag