Skip to content

Commit 5b91f0b

Browse files
committed
chore(ci): fix sonarqube configuration
1 parent a1602a4 commit 5b91f0b

1 file changed

Lines changed: 1 addition & 26 deletions

File tree

.github/workflows/sonarqube.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,7 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818

19-
- name: Setup Node.js
20-
uses: actions/setup-node@v4
21-
with:
22-
node-version: '20.x'
23-
cache: 'npm'
24-
25-
- name: Install dependencies
26-
run: npm ci
27-
28-
- name: Generate SDK code from OpenAPI
29-
run: npx nx codegen sdk
30-
31-
- name: Run tests with coverage
32-
run: npx nx run-many -t test --coverage
33-
3419
- name: SonarQube Scan
35-
uses: sonarqube-quality-gate-action@master
36-
env:
37-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
38-
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
39-
with:
40-
scanMetadataReportFile: .scannerwork/report-task.txt
41-
42-
- name: SonarQube Quality Gate Check
43-
uses: sonarqube-quality-gate-action@master
44-
timeout-minutes: 5
20+
uses: SonarSource/sonarqube-scan-action@v5
4521
env:
4622
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
47-
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

0 commit comments

Comments
 (0)