Skip to content

Commit

Permalink
refactor(ci): separate test and coverage steps
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
cswni committed Feb 7, 2025
1 parent bb39510 commit c86918b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c86918b

Please sign in to comment.