Compare commits

..

4 Commits

Author SHA1 Message Date
b823a75886 Update .gitea/workflows/sonar.yml
All checks were successful
SonarQube Analysis / SonarQube Scan (push) Successful in 28s
2026-02-18 14:24:05 +00:00
60f0f542d4 Update .gitea/workflows/sonar.yml
Some checks failed
SonarQube Analysis / SonarQube Scan (push) Failing after 20s
2026-02-18 14:17:47 +00:00
cc860b15ee Update .gitea/workflows/sonar.yml
Some checks failed
SonarQube Analysis / SonarQube Scan (push) Failing after 22s
2026-02-18 14:13:30 +00:00
645c5f7bff Add .gitea/workflows/sonar.yml
Some checks failed
SonarQube Analysis / sonarqube (push) Failing after 22s
2026-02-18 13:47:59 +00:00
2 changed files with 60 additions and 3 deletions

View File

@@ -0,0 +1,45 @@
name: SonarQube Analysis
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
types:
- opened
- synchronize
- reopened
jobs:
sonarqube:
name: SonarQube Scan
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run SonarScanner (Docker v12)
run: |
# Safely get repository name from current directory
PROJECT_KEY=$(basename "$PWD")
echo "Using project key: $PROJECT_KEY"
docker run --rm \
-v "$PWD:/usr/src" \
-w /usr/src \
-e SONAR_HOST_URL=${{ secrets.SONARQUBE_HOST }} \
-e SONAR_TOKEN=${{ secrets.SONARQUBE_TOKEN }} \
sonarsource/sonar-scanner-cli:12 \
-Dsonar.projectKey=$PROJECT_KEY \
-Dsonar.projectName=$PROJECT_KEY \
-Dsonar.sources=. \
-Dsonar.exclusions=node_modules/**,dist/**,coverage/** \
-Dsonar.qualitygate.wait=true

18
package-lock.json generated
View File

@@ -6781,9 +6781,9 @@
}
},
"lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
"version": "4.17.10",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
"integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg=="
},
"lodash-es": {
"version": "4.17.21",
@@ -7453,6 +7453,11 @@
"path-exists": "^3.0.0"
}
},
"lodash": {
"version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
},
"nan": {
"version": "2.15.0",
"resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz",
@@ -10140,6 +10145,13 @@
"lodash-es": "^4.17.5",
"loose-envify": "^1.1.0",
"prop-types": "^15.6.0"
},
"dependencies": {
"lodash": {
"version": "4.17.10",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz",
"integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg=="
}
}
},
"react-router": {