feat: only run on main, include quality gate
All checks were successful
Node.js CI / Lint and Test (push) Successful in 23s
Code Analysis / SonarQube (push) Successful in 56s

This commit is contained in:
Naomi Carrigan 2025-02-26 13:13:40 -08:00
parent 8ce9b43195
commit f40ad443a5
Signed by: naomi
SSH Key Fingerprint: SHA256:rca1iUI2OhAM6n4FIUaFcZcicmri0jgocqKiTTAfrt8

View File

@ -3,9 +3,6 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
sonar:
@ -17,7 +14,7 @@ jobs:
with:
fetch-depth: 0
- name: Sonar
- name: SonarCube Scan
uses: SonarSource/sonarqube-scan-action@v4
timeout-minutes: 10
env:
@ -27,3 +24,11 @@ jobs:
args: >
-Dsonar.sources=.
-Dsonar.projectKey=typescript-config
- name: SonarQube Quality Gate check
uses: sonarsource/sonarqube-quality-gate-action@v1
with:
pollingTimeoutSec: 600
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: "https://quality.nhcarrigan.com"