Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ jobs:
- name: Lint
run: npm run lint
- name: Test
run: npm run test
run: npm run test -- --coverage
- name: Build
run: npm run build
- name: i18n_extract
run: npm run i18n_extract
- name: Coverage
uses: codecov/codecov-action@v3
uses: MishaKav/jest-coverage-comment@main

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it not be of the master branch?

with:
github-token: ${{ secrets.GITHUB_TOKEN }}
title: Coverage Report
summary-title: Coverage Summary
coverage-title: Coverage by files
coverage-path: ./coverage/coverage.txt
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ module.exports = createConfig('jest', {
'src/setupTest.js',
'src/i18n',
],
coverageReporters: [['text', { file: 'coverage.txt' }], 'json-summary', 'clover', 'lcov'],
});