From 1bfff5dbf272e9eae24b2a9631e012502f4e5f2f Mon Sep 17 00:00:00 2001 From: Jagoda11 Date: Tue, 21 May 2024 20:53:03 +0200 Subject: [PATCH] chore: add test coverage --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 37dbc99a..36e66cbd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,6 +21,8 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci # ๐Ÿ“ฆ Install dependencies - run: npm run build --if-present # ๐Ÿ—๏ธ Build the project - - run: npm test # ๐Ÿงช Run tests + - run: npm run test:coverage # ๐Ÿงช env: CI: true # ๐Ÿค– CI mode + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v2