Skip to content

Commit 36bed3d

Browse files
committed
Merge branch 'main' of https://github.com/LCSOGthb/Center
2 parents 4125177 + 678c162 commit 36bed3d

3 files changed

Lines changed: 49 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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 }}

.scrutinizer.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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"

sonar-project.properties

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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

0 commit comments

Comments
 (0)