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

index 80e716564d76e050e788de5454bbdf4c4dce6929..76df06d98dda13497a0eaca9f602e12145010abf 100644 (file)
@@ -44,11 +44,11 @@ jobs:
         run: npm run test
 
       - name: Coverage Report
-        if: "github.repository == 'poolifier/poolifier' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"
+        if: "github.repository == 'poolifier/poolifier' && matrix.os == 'ubuntu-latest' && matrix.node == '18.x'"
         run: npm run coverage
 
       - name: Sonar Code Analysis
-        if: "github.repository == 'poolifier/poolifier' && matrix.os == 'ubuntu-latest' && matrix.node == '16.x'"
+        if: "github.repository == 'poolifier/poolifier' && 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
index 0aea60faeddc4a7b3995f6bc7f132dc729a4d9f8..863aa1e9765dfd23590bbf597c3cd921b3097f43 100644 (file)
@@ -14,7 +14,7 @@ jobs:
       - name: Setup node
         uses: actions/setup-node@v3
         with:
-          node-version: '16.x'
+          node-version: '18.x'
 
       - name: Generate documentation
         run: |
index 8840dd9903a09a0d2d7c1a7a1166c04ffaf81a40..e32ce385eeb62d08f0d8bc2bee7deed7c9e130c2 100644 (file)
@@ -15,7 +15,7 @@ jobs:
       - name: Setup Node
         uses: actions/setup-node@v3
         with:
-          node-version: '16.x'
+          node-version: '18.x'
 
       - name: Install
         run: npm ci
@@ -42,7 +42,7 @@ jobs:
       - name: Setup Node
         uses: actions/setup-node@v3
         with:
-          node-version: '16.x'
+          node-version: '18.x'
           registry-url: https://registry.npmjs.org/
 
       - name: Read package.json version