From: Jérôme Benoit Date: Sat, 12 Nov 2022 11:25:23 +0000 (+0100) Subject: Switch CI actions to current node.js LTS X-Git-Tag: v1.1.88~32 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c774abf594868c5cefdeb5e1a1fc8166a8ad50ed;p=e-mobility-charging-stations-simulator.git Switch CI actions to current node.js LTS Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00c9f1e2..917c7586 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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