Run sonar cloud with current node.js LTS version
[e-mobility-charging-stations-simulator.git] / .github / workflows / ci.yml
index 1e8ceef00befb1f81c50db0e7549c540fbab1e69..d09db850f037520cb1939926a8d8f20df467efc3 100644 (file)
@@ -26,13 +26,12 @@ jobs:
       continue-on-error: true
     - name: npm run build
       run: npm run build
-      continue-on-error: true
     - name: npm test
       run: npm test
     - 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