From 4f40a4bff24a70c44cbea497d5dfbd05b35a35c9 Mon Sep 17 00:00:00 2001 From: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> Date: Tue, 19 Nov 2024 21:46:38 +0800 Subject: [PATCH] ci: update base Node.js version to v22 see: https://github.com/loopbackio/cicd/issues/127 Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> --- .github/workflows/continuous-integration.yml | 12 ++++++------ .github/workflows/renovate-config-validator.yml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index f4a1e3aa7643..e1685ca84a55 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -23,9 +23,9 @@ jobs: node-version: [18, 20, 22] include: - os: windows-latest - node-version: 20 # LTS + node-version: 22 # LTS - os: macos-latest - node-version: 20 # LTS + node-version: 22 # LTS fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -75,7 +75,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: - node-version: 20 # LTS + node-version: 22 # LTS - name: Install dependencies run: npm ci - name: Build @@ -90,7 +90,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: - node-version: 20 # LTS + node-version: 22 # LTS - name: Install dependencies run: npm ci - name: Build @@ -112,7 +112,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: - node-version: 20 # LTS + node-version: 22 # LTS - name: Install dependencies run: npm ci - name: Verify commit linting @@ -125,7 +125,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: - node-version: 20 # LTS + node-version: 22 # LTS - name: Install dependencies run: npm ci - name: Build diff --git a/.github/workflows/renovate-config-validator.yml b/.github/workflows/renovate-config-validator.yml index a7b7f8ab2761..d8026467e418 100644 --- a/.github/workflows/renovate-config-validator.yml +++ b/.github/workflows/renovate-config-validator.yml @@ -17,9 +17,9 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: - fetch-depth: 0 + fetch-depth: 1 - uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: - node-version: 20 # LTS + node-version: 22 # LTS - name: Validate Renovate config run: npx -p renovate --yes renovate-config-validator