Skip to content

Commit

Permalink
ci: sonarcloud setup (#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Nov 23, 2023
1 parent 0123d86 commit 94b912f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ jobs:
dir: [backend/vehicles, backend/dops, frontend]
include:
- dir: backend/dops
sonar_projectKey: bcgov_onroutebc_backend
token: SONAR_TOKEN_BACKEND
sonar_projectKey: onroutebc_dops
token: SONAR_TOKEN_DOPS
triggers: ('backend/dops')
- dir: backend/vehicles
sonar_projectKey: bcgov_onroutebc_backend
token: SONAR_TOKEN_BACKEND
sonar_projectKey: onroutebc_vehicles
token: SONAR_TOKEN_VEHICLES
triggers: ('backend/dops')
- dir: frontend
sonar_projectKey: bcgov_onroutebc_frontend
sonar_projectKey: onroutebc_frontend
token: SONAR_TOKEN_FRONTEND
triggers: ('frontend/')
steps:
Expand All @@ -99,7 +99,7 @@ jobs:
npm ci
npm run test:cov
dir: ${{ matrix.dir }}
node_version: "20"
node_version: "18"
sonar_args: >
-Dsonar.exclusions=**/coverage/**,**/node_modules/**,**/*spec.ts
-Dsonar.organization=bcgov-sonarcloud
Expand Down

0 comments on commit 94b912f

Please sign in to comment.