Fix web ui sonar CI action
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 26 Oct 2022 08:42:45 +0000 (10:42 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 26 Oct 2022 08:42:45 +0000 (10:42 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/ci.yml

index 536fdf4f58822c397b74a01d1c87e5561590c6be..ae0678b95724175004942f322f00646ec85045ac 100644 (file)
@@ -67,6 +67,8 @@ jobs:
       - name: SonarCloud Scan
         if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"
         uses: sonarsource/sonarcloud-github-action@master
+        with:
+          projectBaseDir: ui/web
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
           SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}