Skip to content

Commit

Permalink
Add jest coverage report GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
neg4n committed Feb 7, 2024
1 parent 81d37c7 commit b762910
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Coverage

on:
pull_request:
branches:
- master
- main
- development
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Jest coverage report
uses: ArtiomTr/jest-coverage-report-action@v2.2.4
with:
package-manager: pnpm
working-directory: "./packages/next-api-compose/"
test-script: pnpm jest --json --coverage --testLocationInResults --outputFile=report.json

0 comments on commit b762910

Please sign in to comment.