From c4a4618840a57cb6a7e0f556553f5f9ca727fa52 Mon Sep 17 00:00:00 2001 From: davidodenwald Date: Sun, 19 Mar 2023 18:03:21 +0100 Subject: [PATCH] add coverage upload to github ci --- .github/workflows/node.js.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a542dcc..c6d8894 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,6 +17,14 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: "npm" - - run: npm install -f - - run: npm run build - - run: npm run test + - name: Install dependencies + run: npm install -f + + - name: Build project + run: npm run build + + - name: Run tests + run: npm run test + + - name: Upload coverage + uses: codecov/codecov-action@v1