File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments