Skip to content

Commit

Permalink
[Add] codecov.yml
Browse files Browse the repository at this point in the history
- set code coverage in codecov
  • Loading branch information
saseungmin committed Oct 11, 2021
1 parent 2d2fb28 commit d3cb821
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Codecov Coverage

on: [push]

jobs:
set-codecov-test-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Install dependencies
run: yarn install --immutable --immutable-cache

- name: Create Unit Test Coverage
run: yarn test:coverage

- name: Set unit test coverage
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true

0 comments on commit d3cb821

Please sign in to comment.