File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+ on :
3+ push :
4+ branches :
5+ - main
6+ pull_request :
7+ types : [opened, synchronize, reopened]
8+ jobs :
9+ sonarqube :
10+ name : SonarQube
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
16+ - name : SonarQube Scan
17+ uses : SonarSource/sonarqube-scan-action@v5
18+ env :
19+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 1+ checks :
2+ javascript : true
3+
4+ build :
5+ nodes :
6+ analysis :
7+ tests :
8+ override :
9+ - js-scrutinizer-run
10+
11+ tools :
12+ eslint : true
13+
14+ filter :
15+ paths :
16+ - " **.js"
Original file line number Diff line number Diff line change 1+ sonar.projectKey =LCSOGthb_center
2+ sonar.organization =lcssonarqube1512
3+
4+
5+ # This is the name and version displayed in the SonarCloud UI.
6+ # sonar.projectName=Center
7+ # sonar.projectVersion=1.0
8+
9+
10+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
11+ # sonar.sources=.
12+
13+ # Encoding of the source code. Default is default system encoding
14+ # sonar.sourceEncoding=UTF-8
You can’t perform that action at this time.
0 commit comments