Merge remote-tracking branch 'origin/main' #52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Coverage Comment | |
on: | |
pull_request: | |
types: [opened, reopened, edited, synchronize] | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run tests | |
run: | | |
npx jest --detectOpenHandles --forceExit --coverage --coverageReporters json-summary | |
- name: Jest Coverage Comment | |
id: coverageComment | |
uses: MishaKav/jest-coverage-comment@main | |
with: | |
junitxml-title: Pulse Test Report | |
junitxml-path: ./junit.xml |