feat: add codecov

This commit is contained in:
Junior García 2021-08-10 21:54:53 -03:00
parent 2d8e402064
commit 2aec1a90e0
4 changed files with 9 additions and 10 deletions

View File

@ -61,9 +61,15 @@ jobs:
run: yarn install --frozen-lockfile
- name: Test
run: yarn test
cov:
needs: [lint, build]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: codecov/codecov-action@v2
publish:
needs: [build, test]
needs: [build, test, cov]
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2

View File

@ -1,3 +0,0 @@
{
"_": "This is your Vercel credentials file. DO NOT SHARE! More: https://vercel.com/docs/configuration#global"
}

View File

@ -1,4 +0,0 @@
{
"_": "This is your Vercel config file. For more information see the global configuration documentation: https://vercel.com/docs/configuration#global",
"collectMetrics": true
}

View File

@ -9,8 +9,8 @@
<a href="https://codecov.io/gh/jrgarciadev/nextui">
<img src="https://codecov.io/gh/jrgarciadev/nextui/branch/main/graph/badge.svg?token=QJF2QKR5N4" alt="codecov badge">
</a>
<a href="https://www.travis-ci.com/jrgarciadev/nextui">
<img src="https://www.travis-ci.com/jrgarciadev/nextui.svg?branch=main" alt="travis ci nextui">
<a href="https://github.com/nextui-org/nextui/actions/workflows/main.yaml">
<img src="https://github.com/nextui-org/nextui/actions/workflows/main.yaml/badge.svg" alt="CI/CD nextui">
</a>
<a href="https://github.com/jrgarciadev/nextui/blob/main/LICENSE">
<img src="https://img.shields.io/apm/l/atomic-design-ui.svg?" alt="License">