Skip to content

Commit

Permalink
feat(service): initialize api and add health endpoint (#2)
Browse files Browse the repository at this point in the history
Co-authored-by: Pablo Jacobo Viña Rebolledo <[email protected]>
  • Loading branch information
vinjatovix and pablojvritx committed Oct 1, 2023
1 parent ee3be49 commit 87eb2a4
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,9 @@ jobs:
run: |
npm run test
- name: Prepare SonarCloud analysis
run: |
npm install -g sonarqube-scanner
sonar-scanner \
-Dsonar.projectKey=vinjatovix_ts-api \
-Dsonar.organization=vinjatovix \
-Dsonar.sources=src \
-Dsonar.exclusions=node_modules/**,coverage/**,dist/**,build/** \
-Dsonar.tests=tests \
-Dsonar.test.inclusions=**/*.test.ts \
-Dsonar.javascript.lcov.reportPaths=coverage/lcov-merged.info \
-Dsonar.login=$SONAR_TOKEN
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 87eb2a4

Please sign in to comment.