From 9ad0d2ee52fac6496d92e3adb30a4ac5002fa45c Mon Sep 17 00:00:00 2001 From: Nichole Frey Date: Wed, 7 Feb 2024 20:05:51 -0500 Subject: [PATCH] upgrade codecov and setup-node github actions --- .github/workflows/workflow.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 92d17b1..34168a8 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -11,13 +11,14 @@ jobs: - name: Enable Corepack run: corepack enable - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "18.x" cache: "yarn" - run: yarn install --immutable - run: yarn test - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} # required