Skip to content

Commit

Permalink
chore: Update CI workflow to include SonarCloud scan for Ubuntu latest
Browse files Browse the repository at this point in the history
  • Loading branch information
msudgh committed Aug 18, 2024
1 parent 3dba115 commit 555fd3f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
node: [18, 20]
os: ['ubuntu-latest']
node: [18, lts/*]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
Expand Down Expand Up @@ -66,3 +68,9 @@ jobs:
directory: ./coverage
files: ./coverage/cobertura-coverage.xml,./coverage/lcov.info
fail_ci_if_error: true
- name: SonarCloud Scan
if: matrix.os == 'ubuntu-latest'
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 555fd3f

Please sign in to comment.