ci: automated pull request test coverage report

This commit is contained in:
Andrea Lamparelli 2023-07-20 10:12:43 +02:00
parent a8db0755a8
commit 7992517155

15
.github/workflows/coverage.yml vendored Normal file
View file

@ -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