From 37e735dd36cbedbbddbd601924d4198f69cebdec Mon Sep 17 00:00:00 2001 From: Daniel Tschinder <231804+danez@users.noreply.github.com> Date: Tue, 1 Mar 2022 15:01:20 +0000 Subject: [PATCH] chore: Add coverage tracking --- .github/workflows/build.yml | 5 ++++- .gitignore | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b035f34db..2d6ebbc9b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,10 @@ jobs: run: yarn install --frozen-lockfile --non-interactive - name: Unit tests - run: yarn test --ci + run: yarn test --ci --coverage + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2 lint: name: Lint diff --git a/.gitignore b/.gitignore index 7db34eb1e..8c4e7b6f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ build/ +coverage/ node_modules/ npm-debug.log lib/