diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 3393933..2a36a47 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -61,37 +61,3 @@ jobs: path: ./coverage/lcov.info retention-days: 1 - 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@v6 - with: - fetch-depth: 0 - - - name: Download coverage file - uses: actions/download-artifact@v8 - with: - name: coverage-report - - - 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/sonarqube-scan-action@v8 - with: - skipSignatureVerification: true - args: > - -Dsonar.projectVersion=${{ github.run_id }} - env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_CLOUD_TOKEN }} - LC_ALL: "C.UTF-8" diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 3216066..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1,13 +0,0 @@ -sonar.projectKey=Typeform_js-api-client -sonar.organization=typeform -sonar.projectVersion=dev - -sonar.sources=src -sonar.tests=tests - -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 \ No newline at end of file