Skip to content

Commit

Permalink
Add code_coverage checks on CI process
Browse files Browse the repository at this point in the history
  • Loading branch information
zourdyzou committed Aug 5, 2022
1 parent d66193e commit e16d929
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 46 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,23 @@ jobs:

# Run build
- name: Build
run: npm run build
run: npm run build

code_coverage_check:
# The type of runner that the job will run on
name: Check the code coverage quality
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out Git repository
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

- name: Push the coverage
run: npm run coverage:push -- --token=${{ secrets.CODECOV_TOKEN }}
Loading

0 comments on commit e16d929

Please sign in to comment.