Skip to content

Commit

Permalink
chore: coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
reapziq authored May 3, 2023
1 parent 287a355 commit 089a140
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ jobs:
- name: Build
run: yarn build
- name: Test
run: yarn test
run: yarn test:ci
- name: Upload coverage
uses: codecov/codecov-action@v3
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ node_modules
# build
dist

# coverage
coverage

# misc
.DS_Store
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Next.js Yandex Metrica

[![npm version](https://badge.fury.io/js/next-yandex-metrica.svg)](https://badge.fury.io/js/next-yandex-metrica)
[![codecov](https://codecov.io/github/reapziq/next-yandex-metrica/branch/main/graph/badge.svg?token=OZ8UX4NPK2)](https://codecov.io/github/reapziq/next-yandex-metrica)

Yandex Metrica integration for Next.js

## Usage
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"prepublishOnly": "yarn build",
"lint": "eslint src --fix",
"lint:ts": "tsc --noEmit --incremental",
"test": "jest"
"test": "jest",
"test:ci": "jest --ci --coverage"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
Expand Down

0 comments on commit 089a140

Please sign in to comment.