Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
chore: upload coverage codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
luongngocminh committed Nov 30, 2023
1 parent 952d9ce commit ac1c524
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/continuous-integrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ jobs:
- name: 'Execute the lint script'
run: 'npm run lint'


test:
name: 'Run unit tests with Jest'
name: 'Run unit tests with Jest and upload Coverage'
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout the repository'
Expand All @@ -34,6 +33,11 @@ jobs:
- name: 'Execute the test script'
run: 'npm run test'

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

bundle:
name: 'Bundle package with Rollup.js'
runs-on: 'ubuntu-latest'
Expand Down

0 comments on commit ac1c524

Please sign in to comment.