Skip to content

Commit

Permalink
changes on sonnar scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
Nmanrique committed May 31, 2024
1 parent 8eef9e4 commit c29738e
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ jobs:
cd node
yarn test --coverage
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets. SONARCLOUD_TOKEN }}
with:
args: >
-Dsonar.projectKey=return-app-sellers
-Dsonar.organization=itglobers
-Dsonar.sources=node
-Dsonar.exclusions=node/__tests__/**/*,**/__tests__/*
-Dsonar.tests=node/__tests__/**/*,node/__tests__/*
-Dsonar.typescript.lcov.reportPaths=node/coverage/lcov.info
-Dsonar.host.url=https://sonarcloud.io
run: |
yarn global add sonar-scanner
sonar-scanner \
-Dsonar.projectKey=return-app-sellers \
-Dsonar.organization=itglobers \
-Dsonar.sources=node \
-Dsonar.exclusions=node/__tests__/**/*,**/__tests__/* \
-Dsonar.tests=node/__tests__/**/*,node/__tests__/* \
-Dsonar.typescript.lcov.reportPaths=node/coverage/lcov.info \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${{ secrets.SONAR_TOKEN }}

0 comments on commit c29738e

Please sign in to comment.