File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1
- name : Unit Tests
1
+ name : Testing
2
2
3
3
on :
4
4
push :
8
8
9
9
jobs :
10
10
tests :
11
+ name : Unit Tests
11
12
runs-on : ubuntu-latest
12
13
13
14
strategy :
23
24
- run : npm install -g yarn
24
25
- run : yarn
25
26
- run : yarn test
27
+
28
+ sonarcloud :
29
+ name : SonarCloud
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - uses : actions/checkout@v3
33
+ with :
34
+ fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
35
+ - name : SonarCloud Scan
36
+ uses : SonarSource/sonarcloud-github-action@master
37
+ env :
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
39
+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change
1
+ sonar.projectKey =jakubjirous_code-signal
2
+ sonar.organization =jakubjirous
3
+
4
+ # This is the name and version displayed in the SonarCloud UI.
5
+ # sonar.projectName=code-signal
6
+ # sonar.projectVersion=1.0
7
+
8
+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
9
+ # sonar.sources=.
10
+
11
+ # Encoding of the source code. Default is default system encoding
12
+ # sonar.sourceEncoding=UTF-8
You can’t perform that action at this time.
0 commit comments