diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b6dfa0c..c23109b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,3 +20,7 @@ jobs: - run: yarn lint - run: yarn build - run: yarn test + - uses: codecov/codecov-action@v5 + with: + files: ./coverage/lcov.info + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md index 6d7c657..74c80dc 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Tests](https://github.com/AndreMiras/edilkamin.js/workflows/Tests/badge.svg)](https://github.com/AndreMiras/edilkamin.js/actions/workflows/tests.yml) [![CLI Tests](https://github.com/AndreMiras/edilkamin.js/actions/workflows/cli-tests.yml/badge.svg)](https://github.com/AndreMiras/edilkamin.js/actions/workflows/cli-tests.yml) +[![codecov](https://codecov.io/gh/AndreMiras/edilkamin.js/graph/badge.svg?token=YG3LKXNZWU)](https://codecov.io/gh/AndreMiras/edilkamin.js) [![Documentation](https://github.com/AndreMiras/edilkamin.js/workflows/Documentation/badge.svg)](https://github.com/AndreMiras/edilkamin.js/actions/workflows/documentation.yml) [![npm version](https://badge.fury.io/js/edilkamin.svg)](https://badge.fury.io/js/edilkamin) diff --git a/package.json b/package.json index eff8113..79b4f4c 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "nyc": { "reporter": [ "html", + "lcov", "text" ] },