From bd33a1330290745e54f1f571c55bd3945f69a395 Mon Sep 17 00:00:00 2001 From: ttsukagoshi Date: Mon, 15 May 2023 03:03:56 +0900 Subject: [PATCH] Add GitHub Actions to report coverage on PR #31 --- .github/workflows/coverage.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/coverage.yml diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml new file mode 100644 index 0000000..2083699 --- /dev/null +++ b/.github/workflows/coverage.yml @@ -0,0 +1,15 @@ +name: 'coverage' +on: + pull_request: + branches: + - main +jobs: + coverage: + permissions: + checks: write + pull-requests: write + contents: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ArtiomTr/jest-coverage-report-action@v2