ci: automated pull request test coverage report (#66)

This commit is contained in:
Andrea Lamparelli 2023-07-20 10:21:22 +02:00 committed by GitHub
parent a8db0755a8
commit cee5e32d0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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