Install a github action to run Lighthouse on PR

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions
領域
ci-cd, devops, frontend

調査の方向性

まず、coursework リポジトリの Table-of-Contents と CYF-Coursework-Template、およびそれらに既存する GitHub Actions ワークフローを確認します。Lighthouse を pull request 上で実行してスコアを報告する方法を特定し、アクセシビリティのしきい値によって PR がドラフトになることを検証します。coursework リポジトリでワークフローが動作し、既存の GitHub Actions セットアップと互換性があれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Resources needed Tech Ed Time Tools

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:

  • 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
主要言語
JavaScript
スター
3
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeYourFuture/Changes のほかの issue

CodeYourFuture/Changes の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。