Remove string literal from log messages
[e-mobility-charging-stations-simulator.git] / .github / workflows / ci.yml
index e100408ecc8ff116cc3de691dafde45e7ec6990c..3e7ea8b88e67fc03fed14da532d32e71c1376a30 100644 (file)
@@ -10,7 +10,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        node-version: [14.x, 16.x]
+        node-version: ['14.x', '16.x', '17.x']
     steps:
     - uses: actions/checkout@v2
       with:
@@ -31,8 +31,8 @@ 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'"
-      uses: SonarSource/sonarcloud-github-action@master
+      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
         SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}