diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5074752..4ae6383 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,4 +21,7 @@ jobs: run: npm run lint - name: Test - run: npm test + run: npm test -- --coverage-report=json + + - name: Coverage + uses: codecov/codecov-action@v1 diff --git a/.gitignore b/.gitignore index 809b393..25e8bbd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .nyc_output +coverage node_modules npm-debug.log diff --git a/.prettierignore b/.prettierignore index b56c82c..bf0acc4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,3 @@ +.nyc_output +coverage tap-snapshots