From e7dd56633077281d148f13d3c6e4f1a1fa3809fd Mon Sep 17 00:00:00 2001 From: Mac Date: Tue, 16 Apr 2024 01:37:48 +0530 Subject: [PATCH] feat: explicit tests since jest-coverage cleans them --- .github/workflows/build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8191128..6f093a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,11 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install npm dependencies - run: | - yarn + run: yarn + - name: Lint - run: | - npm run lint + run: npm run lint + - name: Test and generate coverage report uses: artiomtr/jest-coverage-report-action@v2.2.9 with: @@ -23,6 +23,10 @@ jobs: package-manager: yarn skip-step: install test-script: yarn test + + - name: Tests + run: npm run test + - name: SonarQube Scan uses: sonarsource/sonarqube-scan-action@master env: