Switch CI actions to current node.js LTS
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 12 Nov 2022 11:25:23 +0000 (12:25 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 12 Nov 2022 11:25:23 +0000 (12:25 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/ci.yml

index 00c9f1e296bce89911e9db0199b8e5aaed7e2f62..917c75866d01c94e663bbab3679d4bd16efacfe9 100644 (file)
@@ -28,10 +28,10 @@ jobs:
       - name: npm test
         run: npm test
       - name: npm run coverage
-        if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"
+        if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'"
         run: npm run coverage
       - name: SonarCloud Scan
-        if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"
+        if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'"
         uses: sonarsource/sonarcloud-github-action@master
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
@@ -62,10 +62,10 @@ jobs:
       - name: npm test
         run: npm test
       # - name: npm run coverage
-      #   if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"
+      #   if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'"
       #   run: npm run coverage
       # - name: SonarCloud Scan
-      #   if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"
+      #   if: "github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'"
       #   uses: sonarsource/sonarcloud-github-action@master
       #   with:
       #     projectBaseDir: ui/web