From 022347572b054daf7f718eea07f25c5e54fd6693 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 12 Nov 2022 12:11:24 +0100 Subject: [PATCH] Switch some CI actions to current node.js LTS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 4 ++-- .github/workflows/generate-documentation.yml | 2 +- .github/workflows/npmpublish.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80e71656..76df06d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/generate-documentation.yml b/.github/workflows/generate-documentation.yml index 0aea60fa..863aa1e9 100644 --- a/.github/workflows/generate-documentation.yml +++ b/.github/workflows/generate-documentation.yml @@ -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: | diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 8840dd99..e32ce385 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -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 -- 2.34.1