File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 6
6
- develop
7
7
jobs :
8
8
sonarcloud :
9
- name : SonarQube Cloud
10
- runs-on : ubuntu-latest
11
- steps :
12
- - uses : actions/checkout@v4
13
- with :
14
- fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
15
- - name : SonarQube Cloud Scan
16
- uses : SonarSource/sonarcloud-github-action@master
17
- env :
18
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
19
- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
20
9
runs-on : ubuntu-latest
21
10
steps :
22
11
- name : Generate coverage
23
12
- uses : actions/checkout@v4
13
+ with :
14
+ fetch-depth : 0
24
15
- uses : actions/setup-node@v4
25
16
with :
26
17
node-version : 22
27
18
- run : npm run test:cov
28
19
29
- - name : SonarCloud Scan
20
+ - name : SonarQube Cloud Scan
30
21
uses : SonarSource/sonarcloud-github-action@master
31
22
env :
23
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
24
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
33
25
check-application :
34
26
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments