MP-2692 add codecov reporting (#191)

This commit is contained in:
Yusuf Seyrek 2023-05-11 12:45:19 +03:00 committed by GitHub
parent 5c01ec6872
commit b410619bef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,7 @@ on:
jobs:
build:
name: Tests and Codecov
runs-on: ubuntu-latest
steps:
@ -16,5 +17,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: yarn
- run: yarn test
- name: Install dependencies
run: yarn
- name: Run tests
run: yarn test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info