diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ba0e50..dca1f85 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,3 +29,11 @@ jobs: - name: Test run: npm run test + - + # https://github.com/codecov/codecov-action + name: Upload coverage + uses: codecov/codecov-action@v1 + if: success() + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: ./coverage/clover.xml diff --git a/README.md b/README.md index f7ef77b..f9ea1ed 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@

GitHub release GitHub marketplace - Test workflow + Test workflow + Codecov Become a sponsor

diff --git a/tsconfig.json b/tsconfig.json index 4351241..5bc2fba 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,8 @@ "rootDir": "./src", "strict": true, "noImplicitAny": false, - "esModuleInterop": true + "esModuleInterop": true, + "sourceMap": true }, "exclude": ["node_modules", "**/*.test.ts"] }