CodeYourFuture / Changes

How can I make change at CYF??
https://cyf-change-board.netlify.app/
Creative Commons Attribution 4.0 International
3 stars 4 forks source link

Install a github action to run Lighthouse on PR #4

Open SallyMcGrath opened 1 year ago

SallyMcGrath commented 1 year ago

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:

This is how much time I can put towards this change:

This is the help I need from others to get this done (if any):