chore: adjust sonar parameters

This commit is contained in:
mathuo 2024-12-10 19:42:14 +00:00
parent e2302372b1
commit cf6891368e
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ jobs:
- run: npm run build - run: npm run build
- run: npm run test:cov - run: npm run test:cov
- name: SonarCloud Scan - name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master uses: sonarsource/sonarqube-scan-action@v4.1.0
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

View File

@ -2,7 +2,7 @@ sonar.projectKey=mathuo_dockview
sonar.organization=dockview sonar.organization=dockview
sonar.inclusions=packages/dockview/src/**/*,packages/dockview-core/src/**/*,packages/dockview-vue/src/**/*,packages/dockview-react/src/**/* sonar.inclusions=packages/dockview/src/**/*,packages/dockview-core/src/**/*,packages/dockview-vue/src/**/*,packages/dockview-react/src/**/*
sonar.exclusions=packages/dockview/docs/**,packages/dockview/src/__tests__/**,packages/dockview-core/src/__tests__/**,packages/dockview-vue/src/__tests__/**,packages/dockview-react/src/__tests__/** sonar.exclusions=packages/dockview/docs/**/*,packages/dockview/src/__tests__/**/*,packages/dockview-core/src/__tests__/**/*,packages/dockview-vue/src/__tests__/**/*,packages/dockview-react/src/__tests__/**/*
sonar.tests=packages/dockview/src/__tests__,packages/dockview-core/src/__tests__,packages/dockview-vue/src/__tests__,packages/dockview-react/src/__tests__ sonar.tests=packages/dockview/src/__tests__,packages/dockview-core/src/__tests__,packages/dockview-vue/src/__tests__,packages/dockview-react/src/__tests__
sonar.testExecutionReportPaths=test-report.xml sonar.testExecutionReportPaths=test-report.xml