Skip to content

Commit 04d0d1b

Browse files
committed
change sonar configuration
1 parent 5bb7733 commit 04d0d1b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,10 @@ jobs:
6262
- name: Install dependencies
6363
run: npm ci
6464

65-
- name: Run SonarQube analysis
66-
run: >
67-
./mvnw clean verify sonar:sonar -P coverage
68-
--batch-mode
69-
--update-snapshots
70-
--no-transfer-progress
65+
- name: Run SonarQube Analysis (Frontend)
66+
run: |
67+
npm install -g sonarqube-scanner
68+
SONAR_TOKEN=${{ secrets.SONAR_TOKEN }} npx sonar-scanner
7169
env:
7270
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
7371

0 commit comments

Comments
 (0)