Skip to content

Commit

Permalink
Add sonarqube scan to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Heyner128 committed Oct 27, 2024
1 parent 8de2bc2 commit 1a74cc6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: SonarQube Scan
uses: sonarsource/[email protected]
with:
args: >
-Dsonar.organization=${{ vars.SONAR_ORGANIZATION }}
-Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}

- name: Install dependencies
run: npm i

Expand Down

0 comments on commit 1a74cc6

Please sign in to comment.