Skip to content

Commit 6cb088d

Browse files
committed
ci: use node version 20 in tests
1 parent 96ff784 commit 6cb088d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/deno-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: 'Install Node'
1313
uses: actions/setup-node@v4
1414
with:
15-
node-version: '18.x'
15+
node-version: '20.x'
1616
cache: 'npm'
1717
cache-dependency-path: '**/package-lock.json'
1818

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: '18.x'
22+
node-version: '20.x'
2323
cache: 'npm'
2424
cache-dependency-path: '**/package-lock.json'
2525
- run: npm ci

.github/workflows/run-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: 'Install Node'
5656
uses: actions/setup-node@v4
5757
with:
58-
node-version: '18.x'
58+
node-version: '20.x'
5959
cache: 'npm'
6060
cache-dependency-path: '**/package-lock.json'
6161
- uses: oven-sh/setup-bun@v2
@@ -131,7 +131,7 @@ jobs:
131131
- name: 'Install Node'
132132
uses: actions/setup-node@v4
133133
with:
134-
node-version: '18.x'
134+
node-version: '20.x'
135135
cache: 'npm'
136136
cache-dependency-path: '**/package-lock.json'
137137
- name: Prefer npm global on windows
@@ -208,7 +208,7 @@ jobs:
208208
- name: 'Install Node'
209209
uses: actions/setup-node@v4
210210
with:
211-
node-version: '18.x'
211+
node-version: '20.x'
212212
cache: 'npm'
213213
cache-dependency-path: '**/package-lock.json'
214214
- name: setup pnpm/yarn

.github/workflows/size-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: '18.x'
20+
node-version: '20.x'
2121
cache: 'npm'
2222
cache-dependency-path: '**/package-lock.json'
2323

.github/workflows/test-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
env:
22-
NODE_VERSION: 18.18.0
22+
NODE_VERSION: 20.9.0
2323
PNPM_VERSION: 8.9.0
2424
NEXT_REPO: vercel/next.js
2525
NEXT_TEST_MODE: deploy

0 commit comments

Comments
 (0)