Skip to content

Commit 3db3339

Browse files
committed
Configure SonarCloud for static code analysis
1 parent 2635a68 commit 3db3339

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci-cd.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ jobs:
2525
- name: Run lint or test (optional)
2626
run: echo "No tests defined yet"
2727

28+
- name: SonarCloud Analysis
29+
uses: sonarsource/[email protected]
30+
with:
31+
token: ${{ secrets.SONAR_TOKEN }}
32+
env:
33+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
34+
2835
- name: Run Snyk to check for vulnerabilities
2936
uses: snyk/actions/node@master
3037
with:

0 commit comments

Comments
 (0)