From 35e7ad11ef76b6dbf445ed6a3ee33aacb5713df5 Mon Sep 17 00:00:00 2001 From: divlo Date: Tue, 29 Dec 2020 04:44:15 +0100 Subject: [PATCH] ci: add Codecov --- .github/workflows/nodejs.yml | 5 ++++- README.md | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index aff7312..3e44fcd 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -40,5 +40,8 @@ jobs: - name: 'Build' run: 'npm run build' - - name: 'Run the tests' + - name: 'Run the tests and generate coverage report' run: 'npm test' + + - name: 'Upload coverage to Codecov' + uses: 'codecov/codecov-action@v1' diff --git a/README.md b/README.md index ec46418..ff33060 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@

Node.js CI + codecov Dependabot badge TypeScript Standard Style Licence MIT