Skip to content

test/sonarcloud-ci-validation #7

test/sonarcloud-ci-validation

test/sonarcloud-ci-validation #7

Workflow file for this run

name: SonarCloud
on:
push:
branches: [main, claude]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
sonar:
name: Analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}