Install a github action to run Lighthouse on PR
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia esaminando i repository di coursework Table-of-Contents e CYF-Coursework-Template, insieme ai workflow GitHub Actions esistenti. Determina come eseguire Lighthouse sulle pull request e riportarne il punteggio, quindi verifica che la soglia di accessibilità faccia diventare la PR una bozza. Il lavoro è completato quando il workflow funziona per i repository di coursework ed è compatibile con la configurazione GitHub Actions esistente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- JavaScript
- Stelle
- 3
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di CodeYourFuture/Changes
-
CYF Pathways 2.0 proposalAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
CodeYourFuture/Changes#13 ·
-
Answer common questions from applicants in the ITD Slack spaceForse di nuovo libera @alecmccrindle l’ha presa 1259 giorni fa e non c’è nessuna pull request aperta. ApertaResources needed Skills Staff Time
CodeYourFuture/Changes#12 · 4 commenti · 1 assegnatario ·
-
Answer common questions from applicants, volunteers and partners on the CYF websiteForse di nuovo libera @alecmccrindle l’ha presa 1259 giorni fa e non c’è nessuna pull request aperta. ApertaResources needed Skills Staff Time
CodeYourFuture/Changes#11 · 6 commenti · 1 assegnatario ·
-
CYF JumpstartApertaSkills Staff Tech Ed Volunteers
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
CodeYourFuture/Changes#10 · 7 commenti ·
-
Resources needed Skills Tech Ed Time Trainees
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
CodeYourFuture/Changes#9 · 8 commenti ·
Tutte le issue di CodeYourFuture/Changes
Issue simili
-
bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
Jason-Vaughan/TangleClaw#3270 ·
I maintainer di solito rispondono entro 1 giorno
-
docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
open-telemetry/opentelemetry.io#12846 ·
I maintainer di solito rispondono entro 1 giorno
-
Beginner Enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
JSPrismarine/JSPrismarine#3740 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
xdelmo/Portfolio-minimal#637 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
angrymrt/wiskunde-fit#242 ·
I maintainer di solito rispondono entro 1 giorno