From 91fe16d3f4073891bba8ee8ba4d3e5aa19f9c53c Mon Sep 17 00:00:00 2001 From: Artem Turlenko <76534386+art2url@users.noreply.github.com> Date: Wed, 12 Mar 2025 18:14:43 +0100 Subject: [PATCH] Updated unit-tests.yml --- .github/workflows/unit-tests.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index d13411a..1f07c53 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -23,14 +23,18 @@ jobs: cache: npm - name: Install dependencies - run: npm ci + run: npm install + + - name: Create test results directory + run: mkdir -p reports - name: Run unit tests run: npm run test -- --watch=false --browsers=ChromeHeadless + continue-on-error: true - name: Upload Test Results - if: success() || failure() - uses: actions/upload-artifact@v3 + if: always() + uses: actions/upload-artifact@v4 with: name: unit-test-results path: reports/unit-tests.xml