Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ jobs:
run: yarn install
- name: Run tests
run: yarn test

coverage:
name: Jest Coverage Report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ArtiomTr/jest-coverage-report-action@v2
with:
custom-title: 'Jest Coverage Report'

integration_tests:
name: Run integration tests
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"build:win": "(if exist dist rd /s/q dist) && node ./scripts/winbuild.js",
"lint": "tsc --noEmit && eslint 'src/**/*.{js,ts,tsx}' --quiet --fix",
"test": "jest --silent",
"test-coverage": "jest --coverage --coverageReporters=\"text-summary\" --silent",
"prepublishOnly": "npm run test && npm run build",
"prepare": "npm run build && husky install"
},
Expand Down
Loading