Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into joris/test-pr-ci-sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMaskedTurtle committed Sep 16, 2024
2 parents dd3236c + 2a49981 commit 3debb43
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"ignorePatterns": [
// node_modules is implicitly always ignored
"dist",
"coverage",
"vite.config.mts",
"jest.config.ts",
"jest.setup.ts"
Expand Down
1 change: 1 addition & 0 deletions .github/config/.licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ header:
- '**/*.yaml'
- '**/*.yml'
- '**/*.svg'
- '**/*.properties'


comment: on-failure
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,11 @@ jobs:
npm install
npm run licenses-check
npm run lint
npm run test
npm run test:coverage
npm run build
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@v3.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3 changes: 3 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sonar.projectKey=gridsuite_commons-ui
sonar.organization=gridsuite
sonar.javascript.lcov.reportPaths=./coverage/lcov.info

0 comments on commit 3debb43

Please sign in to comment.