Skip to content

Commit

Permalink
feat(GH-8): Add step to publish coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
gavanlamb committed Jun 14, 2024
1 parent 9501d43 commit e63fe25
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,21 @@ jobs:
run: |
npm run test
- name: Publish Test Results
- name: Publish test results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
./test-results/junit.xml
- name: Publish test coverage
uses: ArtiomTr/jest-coverage-report-action@v2
if: always()
with:
skip-step: all
coverage-file: ./coverage/coverage-summary.json
prnumber: ${{ github.event.pull_request.number }}

- name: Package
run: |
npm run package

0 comments on commit e63fe25

Please sign in to comment.