From 2ae8690faae1e92eb79075986b8dc2e3d2a0b71c Mon Sep 17 00:00:00 2001 From: Fleny Date: Sat, 21 Jun 2025 18:08:25 +0200 Subject: [PATCH] ci: Use node v20 in CI (#4203) * Use node v20 in CI * Revert unit tests to use node 18 * Revert "Revert unit tests to use node 18" This reverts commit 61dbd272f04583a98fa8ad56ac5b38c971ad1236. --- .github/workflows/benchmark.yml | 2 +- .github/workflows/e2e-test.yml | 2 +- .github/workflows/integration-test.yml | 2 +- .github/workflows/lib-check.yml | 8 ++++---- .github/workflows/other-runtime-unit-test.yml | 4 ++-- .github/workflows/release.yml | 2 +- .github/workflows/site.yml | 4 ++-- .github/workflows/unit-test.yml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 6ae2268a3..3d6d76b4f 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: Check cpu model id: cpuCheck run: node ./scripts/checkCpuModel.js diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 7405a6155..90a2b874e 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - run: yarn install --immutable - name: Turbo Cache diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 41f771acb..9265c5c83 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - run: yarn install --immutable - name: Turbo Cache diff --git a/.github/workflows/lib-check.yml b/.github/workflows/lib-check.yml index 0f7d7f275..97299b122 100644 --- a/.github/workflows/lib-check.yml +++ b/.github/workflows/lib-check.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - run: yarn install --immutable - name: Turbo Cache @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - run: yarn install --immutable - name: Turbo Cache @@ -56,7 +56,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - run: yarn install --immutable - name: Turbo Cache @@ -82,7 +82,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - run: yarn install --immutable - name: Turbo Cache diff --git a/.github/workflows/other-runtime-unit-test.yml b/.github/workflows/other-runtime-unit-test.yml index 1bf9acd5f..292320faa 100644 --- a/.github/workflows/other-runtime-unit-test.yml +++ b/.github/workflows/other-runtime-unit-test.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - uses: denoland/setup-deno@v2 with: @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - uses: oven-sh/setup-bun@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7863ae706..210173f20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn registry-url: 'https://registry.npmjs.org' scope: '@discordeno' diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 5bb656376..75b3b4092 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn cache-dependency-path: | yarn.lock @@ -58,7 +58,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn cache-dependency-path: | yarn.lock diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index d4397abb4..bee43be12 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - run: yarn install --immutable - name: Turbo Cache