diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 97c2a59..d917b99 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -103,35 +103,3 @@ jobs: JARVIS_NOTIFY_PREVIEW_TEMPLATE: ${{ secrets.JARVIS_NOTIFY_PREVIEW_TEMPLATE }} PUBLIC_CDN_URL: 'https://btn.typeform.com' - sonarcloud: - name: Test and Code Quality Report (SonarCloud) - needs: - - build-lint-test - runs-on: ubuntu-latest - steps: - - name: Check out Git repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Download coverage file - uses: actions/download-artifact@v4 - with: - name: coverage - - - name: Move the coverage file to a proper location - run: | - mkdir -p coverage - mv lcov.info coverage/lcov.info - - - name: Verify coverage file ready - run: ls -lah ./coverage/lcov.info - - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@v2 - with: - args: > - -Dsonar.projectVersion=${{ github.run_id }} - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_CLOUD_TOKEN }} diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 6eda70c..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1,12 +0,0 @@ -sonar.projectKey=Typeform_button -sonar.organization=typeform -sonar.projectVersion=dev - -sonar.sources=src - -sonar.inclusions=packages/*/src/**/*.ts,src/**/*.js -sonar.exclusions=node_modules/**,dist/**,**/*.spec.ts,**/*.test.ts - -sonar.test.exclusions=node_modules/**,dist/** - -sonar.javascript.lcov.reportPaths=./coverage/lcov.info