From cee5e32d0e6922d6b32e94f8c88806b24c6b732b Mon Sep 17 00:00:00 2001 From: Andrea Lamparelli Date: Thu, 20 Jul 2023 10:21:22 +0200 Subject: [PATCH] ci: automated pull request test coverage report (#66) --- .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..d5afeb5 --- /dev/null +++ b/.github/workflows/coverage.yml @@ -0,0 +1,15 @@ +name: 'coverage report' + +on: + pull_request_target: + branches: + - main + +jobs: + coverage: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ArtiomTr/jest-coverage-report-action@v2 + with: + test-script: npm test \ No newline at end of file