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: