Run sonar cloud with current node.js LTS version
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 1 Dec 2021 20:20:12 +0000 (21:20 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 1 Dec 2021 20:20:12 +0000 (21:20 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.github/workflows/ci.yml

index 401dbfa8ed6d3a32f827db4707da24fe65e7c667..d09db850f037520cb1939926a8d8f20df467efc3 100644 (file)
@@ -31,7 +31,7 @@ jobs:
     - name: npm run coverage
       run: npm run coverage
     - name: SonarCloud Scan
-      if: "github.repository == 'jerome-benoit/charging-stations-simulator' && matrix.node-version == '14.x'"
+      if: "github.repository == 'jerome-benoit/charging-stations-simulator' && matrix.node-version == '16.x'"
       uses: sonarsource/sonarcloud-github-action@master
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any