mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
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:
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
- name: Check cpu model
|
- name: Check cpu model
|
||||||
id: cpuCheck
|
id: cpuCheck
|
||||||
run: node ./scripts/checkCpuModel.js
|
run: node ./scripts/checkCpuModel.js
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- name: Turbo Cache
|
- name: Turbo Cache
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- name: Turbo Cache
|
- name: Turbo Cache
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- name: Turbo Cache
|
- name: Turbo Cache
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- name: Turbo Cache
|
- name: Turbo Cache
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- name: Turbo Cache
|
- name: Turbo Cache
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- name: Turbo Cache
|
- name: Turbo Cache
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- uses: denoland/setup-deno@v2
|
- uses: denoland/setup-deno@v2
|
||||||
with:
|
with:
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- uses: oven-sh/setup-bun@v2
|
- uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
scope: '@discordeno'
|
scope: '@discordeno'
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
yarn.lock
|
yarn.lock
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: yarn
|
cache: yarn
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- name: Turbo Cache
|
- name: Turbo Cache
|
||||||
|
|||||||
Reference in New Issue
Block a user