Skip to content

Commit

Permalink
[CONFIG] Node script for github-actions, sonarcloud automatic scan di…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonzalo Diaz committed May 9, 2024
1 parent 8d515c9 commit 0001837
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }} # required
verbose: true # optional (default = false)

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3 changes: 3 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sonar.projectKey=algorithm-exercises-ts

sonar.javascript.lcov.reportPaths=./coverage/lcov.info

0 comments on commit 0001837

Please sign in to comment.