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 61dbd272f0.
This commit is contained in:
Fleny
2025-06-21 18:08:25 +02:00
committed by GitHub
parent 74050211e0
commit 2ae8690faa
8 changed files with 13 additions and 13 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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:

View File

@@ -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'

View File

@@ -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

View File

@@ -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