From c07560ceedbea93a7fd6bc940ce43cfdbf37bd10 Mon Sep 17 00:00:00 2001 From: sb-benohe <71290292+sb-benohe@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:34:41 -0500 Subject: [PATCH] Update unit_test_coverage.yml --- .github/workflows/unit_test_coverage.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/unit_test_coverage.yml b/.github/workflows/unit_test_coverage.yml index 056a6fc..636d273 100644 --- a/.github/workflows/unit_test_coverage.yml +++ b/.github/workflows/unit_test_coverage.yml @@ -23,13 +23,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - - name: Use Node.js 16.x - uses: actions/setup-node@v2-beta + - name: Use Node.js 20.x + uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 20.x - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: cache-node-modules with: @@ -56,7 +56,7 @@ jobs: run: npm run-script coverage - name: Store the coverage report as an artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: coverage path: coverage/lcov.info @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download coverage artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: coverage @@ -83,14 +83,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Download coverage artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: coverage - name: Upload code coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: file: lcov.info - fail_ci_if_error: truef + fail_ci_if_error: true