Skip to content

Commit 1e9c3dd

Browse files
author
Gonzalo Diaz
committed
[CONFIG] Node script for github-actions, sonarcloud automatic scan disabled (to enable coverage support):
https://docs.sonarsource.com/sonarcloud/enriching/test-coverage/javascript-typescript-test-coverage/
1 parent d3e95b6 commit 1e9c3dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/node-coverage.js.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,9 @@ jobs:
4343
with:
4444
token: ${{ secrets.CODECOV_TOKEN }} # required
4545
verbose: true # optional (default = false)
46+
47+
- name: SonarCloud Scan
48+
uses: SonarSource/sonarcloud-github-action@master
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
51+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)