test sonar
RN APK Build / build (push) Failing after 5m10s

This commit is contained in:
NishantRajputRN
2026-05-12 15:53:39 +05:30
parent 4515112b63
commit fff4b3bfe4
3 changed files with 12 additions and 5 deletions
+6 -3
View File
@@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
# ---------------- NODE ----------------
- name: Setup Node
@@ -24,11 +26,12 @@ jobs:
run: npm ci
# ---------------- SONARQUBE ----------------
# Set repository secret SONAR_TOKEN (User token from SonarQube). Do not commit tokens to git.
# In Gitea: Repository → Settings → Secrets and variables → add secret SONAR_TOKEN
# (SonarQube user token). Name must be exactly SONAR_TOKEN — not the token value as the name.
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v4
uses: SonarSource/sonarqube-scan-action@v6
env:
SONAR_TOKEN: ${{ secrets.sqp_b87b0e90564ffc64e9059611d458d777d5148b8b }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: http://98.70.31.53:9000
# ---------------- JAVA ----------------