Skip to content

Commit 1a3fa1a

Browse files
committed
fix sonar
1 parent b4959ea commit 1a3fa1a

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ jobs:
8585

8686
- name: SonarQube Scan
8787
uses: SonarSource/sonarqube-scan-action@v5
88+
with:
89+
args: >
90+
-Dsonar.projectKey=nofarb_example-javascript
91+
-Dsonar.organization=nofarb
92+
-Dsonar.verbose=true
8893
env:
8994
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
90-
sonar.projectKey: "nofarb_example-javascript"
91-
sonar.organization: "nofarb"
95+

sonar-project.properties

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
sonar.projectKey=nofarb_example-javascript
2+
sonar.organization=nofarb
3+
sonar.sources=.
4+
sonar.language=js
5+
sonar.sourceEncoding=UTF-8
6+
7+
8+
# This is the name and version displayed in the SonarCloud UI.
9+
#sonar.projectName=example-javascript
10+
#sonar.projectVersion=1.0
11+
12+
13+
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
14+
#sonar.sources=.
15+
16+
# Encoding of the source code. Default is default system encoding
17+
#sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)