Skip to content

Commit

Permalink
Add sonarcloud job
Browse files Browse the repository at this point in the history
  • Loading branch information
asein-sinch committed Apr 16, 2024
1 parent 2faef7b commit 5871834
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,18 @@ jobs:
- run: npx eslint "packages/**/tests/**/*.ts"
- run: yarn run build
- run: yarn run test

sonarcloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
with:
projectBaseDir: packages
env:
GITHUB_TOKEN: ${{ secrets.PAT_CI }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 5871834

Please sign in to comment.