Skip to content

Commit

Permalink
ci: add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
motea927 committed Feb 17, 2024
1 parent 237793c commit a34dab3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ jobs:
- run: yarn test:types
- run: yarn build
- run: yarn vitest --coverage
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4.0.1
env:
token: ${{ secrets.CODECOV_TOKEN }}
slug: motea927/peer-gear
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]

<!-- [![bundle][bundle-src]][bundle-href] -->
<!-- [![Codecov][codecov-src]][codecov-href] -->
[![bundle][bundle-src]][bundle-href]
[![Codecov][codecov-src]][codecov-href]

This is my package description.

Expand All @@ -31,8 +30,8 @@ Published under [MIT License](./LICENSE).
[npm-downloads-src]: https://img.shields.io/npm/dm/peer-gear?style=flat&colorA=18181B&colorB=F0DB4F
[npm-downloads-href]: https://npmjs.com/package/peer-gear

<!-- [codecov-src]: https://img.shields.io/codecov/c/gh/unjs/peer-gear/main?style=flat&colorA=18181B&colorB=F0DB4F
[codecov-href]: https://codecov.io/gh/unjs/peer-gear
[codecov-src]: https://img.shields.io/codecov/c/gh/motea927/peer-gear/main?style=flat&colorA=18181B&colorB=F0DB4F
[codecov-href]: https://codecov.io/gh/motea927/peer-gear

[bundle-src]: https://img.shields.io/bundlephobia/minzip/peer-gear?style=flat&colorA=18181B&colorB=F0DB4F
[bundle-href]: https://bundlephobia.com/result?p=peer-gear -->
[bundle-href]: https://bundlephobia.com/result?p=peer-gear

0 comments on commit a34dab3

Please sign in to comment.