From 7e8d7073d2a387e42c39d8203a6e8ba0023b02e0 Mon Sep 17 00:00:00 2001 From: sebastien Date: Thu, 9 May 2024 14:45:59 +0200 Subject: [PATCH] CI upgrade to Node 22 --- .github/workflows/argos.yml | 2 +- .github/workflows/build-blog-only.yml | 2 +- .github/workflows/build-perf.yml | 2 +- .github/workflows/canary-release.yml | 2 +- .github/workflows/lighthouse-report.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/showcase-test.yml | 2 +- .github/workflows/tests-e2e.yml | 14 +++++++------- .github/workflows/tests-swizzle.yml | 4 ++-- .github/workflows/tests-windows.yml | 2 +- .github/workflows/tests.yml | 2 +- 11 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/argos.yml b/.github/workflows/argos.yml index 276d7f25eabf..727cebcc4fa9 100644 --- a/.github/workflows/argos.yml +++ b/.github/workflows/argos.yml @@ -32,7 +32,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: yarn install --frozen-lockfile diff --git a/.github/workflows/build-blog-only.yml b/.github/workflows/build-blog-only.yml index 8749510fbbe3..2fdc977cba4d 100644 --- a/.github/workflows/build-blog-only.yml +++ b/.github/workflows/build-blog-only.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: '18' + node-version: 20 cache: yarn - name: Installation run: yarn diff --git a/.github/workflows/build-perf.yml b/.github/workflows/build-perf.yml index 96464b28b7fd..533a4ade0015 100644 --- a/.github/workflows/build-perf.yml +++ b/.github/workflows/build-perf.yml @@ -40,7 +40,7 @@ jobs: - name: Set up Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: '18' + node-version: 20 cache: yarn - name: Track build size changes uses: preactjs/compressed-size-action@f780fd104362cfce9e118f9198df2ee37d12946c # v2 diff --git a/.github/workflows/canary-release.yml b/.github/workflows/canary-release.yml index f8be24fdfd8b..10290cc51e9f 100644 --- a/.github/workflows/canary-release.yml +++ b/.github/workflows/canary-release.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: '18' + node-version: 20 cache: yarn - name: Prepare git run: | diff --git a/.github/workflows/lighthouse-report.yml b/.github/workflows/lighthouse-report.yml index 35d35356f08c..7d6a7cd2c836 100644 --- a/.github/workflows/lighthouse-report.yml +++ b/.github/workflows/lighthouse-report.yml @@ -26,7 +26,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: 18 + node-version: 20 - name: Install dependencies run: yarn install --frozen-lockfile diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 82f5b3fee190..195ea6aab4f5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: '18' + node-version: 20 cache: yarn - name: Installation run: yarn diff --git a/.github/workflows/showcase-test.yml b/.github/workflows/showcase-test.yml index ceedc91bdcf8..1720cdf67641 100644 --- a/.github/workflows/showcase-test.yml +++ b/.github/workflows/showcase-test.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Node uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: '20' + node-version: 20 cache: yarn - name: Installation run: yarn diff --git a/.github/workflows/tests-e2e.yml b/.github/workflows/tests-e2e.yml index b98cb3270ba6..f15227fbf54f 100644 --- a/.github/workflows/tests-e2e.yml +++ b/.github/workflows/tests-e2e.yml @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['18.0', '18', '20'] + node: ['18.0', '20', '22'] steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -76,10 +76,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Use Node.js 18 + - name: Use Node.js LTS uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: '18' + node-version: lts/* cache: yarn - name: Installation run: yarn @@ -146,10 +146,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Use Node.js 18 + - name: Use Node.js LTS uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: '18' + node-version: lts/* cache: yarn - name: Installation run: yarn @@ -176,10 +176,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Use Node.js 18 + - name: Use Node.js LTS uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: '18' + node-version: lts/* cache: yarn - name: Installation run: yarn diff --git a/.github/workflows/tests-swizzle.yml b/.github/workflows/tests-swizzle.yml index 7fd0a85dbf5e..493c970228e3 100644 --- a/.github/workflows/tests-swizzle.yml +++ b/.github/workflows/tests-swizzle.yml @@ -27,10 +27,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Set up Node + - name: Set up Node LTS uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 with: - node-version: '18' + node-version: lts/* cache: yarn - name: Installation run: yarn diff --git a/.github/workflows/tests-windows.yml b/.github/workflows/tests-windows.yml index c280e4fd9608..df637ea5f607 100644 --- a/.github/workflows/tests-windows.yml +++ b/.github/workflows/tests-windows.yml @@ -26,7 +26,7 @@ jobs: runs-on: windows-latest strategy: matrix: - node: ['18.0', '18', '20'] + node: ['18.0', '20', '22'] steps: - name: Support longpaths run: git config --system core.longpaths true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ae170e8b25d7..dee1612e9fb3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['18.0', '18', '20'] + node: ['18.0', '20', '22'] steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1