From: Jérôme Benoit Date: Sat, 12 Nov 2022 11:11:24 +0000 (+0100) Subject: Switch some CI actions to current node.js LTS X-Git-Tag: v2.3.8~94 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=022347572b054daf7f718eea07f25c5e54fd6693;p=poolifier.git Switch some 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 80e716564..76df06d98 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 0aea60fae..863aa1e97 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 8840dd990..e32ce385e 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