Skip to content

ci(sonarcloud): fix directory path #26

ci(sonarcloud): fix directory path

ci(sonarcloud): fix directory path #26

Workflow file for this run

name: SonarCloud
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
sonarcloud-code-quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Disabling shallow clone to improve relevancy of reporting
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@v2.3.0
with:
args: >
-Dsonar.organization=elersong
-Dsonar.projectKey=elersong_fireorm24
-Dsonar.coverage.exclusions=**/*.spec.*,src/test/**
-Dsonar.javascript.lcov.reportPaths=../coverage/lcov.info
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}