Skip to content

Commit

Permalink
chore: Add code coverage report (#2894)
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek3255 committed Nov 6, 2021
1 parent f348673 commit bfef84c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-and-publish.yml
Expand Up @@ -29,6 +29,8 @@ jobs:
if: matrix.node == '16'
env:
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2

publish-module:
name: 'Publish Module to NPM'
Expand Down
6 changes: 6 additions & 0 deletions codecov.yml
@@ -0,0 +1,6 @@
coverage:
status:
project:
default:
target: 90%
threshold: 1%

1 comment on commit bfef84c

@vercel
Copy link

@vercel vercel bot commented on bfef84c Nov 6, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.