From c86918bc835618f651cdc120c438399fdb0ba9f8 Mon Sep 17 00:00:00 2001 From: Carlos Andres Perez Ubeda Date: Fri, 7 Feb 2025 08:36:57 -0600 Subject: [PATCH] refactor(ci): separate test and coverage steps - Updated `.github/workflows/ci.yml`: - Split the "Test" step into two separate steps: one for running tests (`npm run test`) and another for coverage generation (`npm run test:coverage`). - Ensures more granular execution and better step visibility in CI pipelines. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5fb1cbe9..c55b36bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,10 @@ jobs: run: npm run lint - name: Test - run: npm run test -- --coverage + run: npm run test + + - name: Coverage + run: npm run test:coverage - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5