diff --git a/.github/workflows/cli-test.yml b/.github/workflows/cli-test.yml index a1e4ba1e3..6629c3f9c 100644 --- a/.github/workflows/cli-test.yml +++ b/.github/workflows/cli-test.yml @@ -25,11 +25,11 @@ jobs: cache: 'npm' - name: Run tests run: npm test -# - name: SonarCloud Scan -# uses: sonarsource/sonarcloud-github-action@master -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: SonarCloud Scan + uses: sonarsource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} notify-complete-fail: if: ${{ failure() && github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }} needs: [ test ]