From 643920c707bcff6af74a33b2aa9a8686a4104fc8 Mon Sep 17 00:00:00 2001 From: Dr Lai <92519564+doctorlai-msrc@users.noreply.github.com> Date: Tue, 21 Oct 2025 09:46:24 +0100 Subject: [PATCH] Rename and enhance test coverage workflow steps --- .github/workflows/coverage.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index e2a95e0..7dfa701 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -1,4 +1,4 @@ -name: Run Tests with Coverage +name: Test Coverage on: pull_request: @@ -13,14 +13,17 @@ jobs: pull-requests: write steps: - - uses: actions/checkout@v4 + - name: Checkout repository + uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version: 20 cache: npm - - run: npm ci + - name: Install dependencies + run: npm ci - name: Run tests with coverage run: npx vitest run --coverage @@ -32,7 +35,7 @@ jobs: json-summary-path: coverage/coverage-summary.json json-final-path: coverage/coverage-final.json - - name: Upload coverage artifact + - name: Upload coverage report if: always() uses: actions/upload-artifact@v4 with: