Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
4bbc8c7a
Unverified
Commit
4bbc8c7a
authored
Aug 29, 2025
by
Jiwon Choi
Committed by
GitHub
Aug 29, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "[Breaking] Bump minimum Node.js version to `>=20.9.0`" (#83243)
parent
d8e1aca8
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
30 additions
and
30 deletions
+30
-30
package.json
.github/actions/next-integration-stat/package.json
+1
-1
Dockerfile
.github/actions/next-stats-action/Dockerfile
+1
-1
package.json
.github/actions/next-stats-action/package.json
+1
-1
package.json
.github/actions/upload-turboyet-data/package.json
+1
-1
build_and_test.yml
.github/workflows/build_and_test.yml
+15
-15
code_freeze.yml
.github/workflows/code_freeze.yml
+1
-1
create_release_branch.yml
.github/workflows/create_release_branch.yml
+1
-1
integration_tests_reusable.yml
.github/workflows/integration_tests_reusable.yml
+1
-1
test_examples.yml
.github/workflows/test_examples.yml
+2
-2
trigger_release.yml
.github/workflows/trigger_release.yml
+1
-1
package.json
package.json
+1
-1
package.json
packages/create-next-app/package.json
+1
-1
package.json
packages/next/package.json
+1
-1
package.json
test/.stats-app/package.json
+1
-1
next-swc.test.ts
test/unit/next-swc.test.ts
+1
-1
No files found.
.github/actions/next-integration-stat/package.json
View file @
4bbc8c7a
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
"strip-ansi"
:
"^7.0.1"
"strip-ansi"
:
"^7.0.1"
},
},
"engines"
:
{
"engines"
:
{
"node"
:
">=
20.9
.0"
"node"
:
">=
18.18
.0"
},
},
"packageManager"
:
"pnpm@9.6.0"
"packageManager"
:
"pnpm@9.6.0"
}
}
.github/actions/next-stats-action/Dockerfile
View file @
4bbc8c7a
...
@@ -11,7 +11,7 @@ RUN apt install unzip wget curl nano htop screen build-essential pkg-config libs
...
@@ -11,7 +11,7 @@ RUN apt install unzip wget curl nano htop screen build-essential pkg-config libs
RUN
ln
$(
which python3
)
/usr/bin/python
RUN
ln
$(
which python3
)
/usr/bin/python
RUN
curl
-sfLS
https://install-node.vercel.app/v
20.9.0
| bash
-s
--
-f
RUN
curl
-sfLS
https://install-node.vercel.app/v
18.18.2
| bash
-s
--
-f
RUN
npm i
-g
corepack@0.31
RUN
npm i
-g
corepack@0.31
RUN
corepack
enable
RUN
corepack
enable
...
...
.github/actions/next-stats-action/package.json
View file @
4bbc8c7a
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
"typescript"
:
"5.1.6"
"typescript"
:
"5.1.6"
},
},
"engines"
:
{
"engines"
:
{
"node"
:
">=
20.9
.0"
"node"
:
">=
18.18
.0"
},
},
"packageManager"
:
"pnpm@9.6.0"
"packageManager"
:
"pnpm@9.6.0"
}
}
.github/actions/upload-turboyet-data/package.json
View file @
4bbc8c7a
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
"@vercel/ncc"
:
"^0.36.0"
"@vercel/ncc"
:
"^0.36.0"
},
},
"engines"
:
{
"engines"
:
{
"node"
:
">=
20.9
.0"
"node"
:
">=
18.18
.0"
},
},
"packageManager"
:
"pnpm@9.6.0"
"packageManager"
:
"pnpm@9.6.0"
}
}
.github/workflows/build_and_test.yml
View file @
4bbc8c7a
...
@@ -11,8 +11,8 @@ on:
...
@@ -11,8 +11,8 @@ on:
# of that workflow. Environment variables are not automatically passed to
# of that workflow. Environment variables are not automatically passed to
# reusable workflows.
# reusable workflows.
env
:
env
:
NODE_MAINTENANCE_VERSION
:
20
NODE_MAINTENANCE_VERSION
:
18
NODE_LTS_VERSION
:
2
2
NODE_LTS_VERSION
:
2
0
jobs
:
jobs
:
optimize-ci
:
optimize-ci
:
...
@@ -109,7 +109,7 @@ jobs:
...
@@ -109,7 +109,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-node@v4
-
uses
:
actions/setup-node@v4
with
:
with
:
node-version
:
20
node-version
:
18
-
name
:
Setup corepack
-
name
:
Setup corepack
run
:
|
run
:
|
npm i -g corepack@0.31
npm i -g corepack@0.31
...
@@ -275,7 +275,7 @@ jobs:
...
@@ -275,7 +275,7 @@ jobs:
react
:
[
'
'
]
react
:
[
'
'
]
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
nodeVersion
:
20.9.0
nodeVersion
:
18.18.2
afterBuild
:
|
afterBuild
:
|
export IS_TURBOPACK_TEST=1
export IS_TURBOPACK_TEST=1
export TURBOPACK_DEV=1
export TURBOPACK_DEV=1
...
@@ -308,7 +308,7 @@ jobs:
...
@@ -308,7 +308,7 @@ jobs:
react
:
[
'
'
,
'
18.3.1'
]
react
:
[
'
'
,
'
18.3.1'
]
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
nodeVersion
:
20.9.0
nodeVersion
:
18.18.2
afterBuild
:
|
afterBuild
:
|
export IS_TURBOPACK_TEST=1
export IS_TURBOPACK_TEST=1
export TURBOPACK_BUILD=1
export TURBOPACK_BUILD=1
...
@@ -330,7 +330,7 @@ jobs:
...
@@ -330,7 +330,7 @@ jobs:
group
:
[
1/7
,
2/7
,
3/7
,
4/7
,
5/7
,
6/7
,
7/7
]
group
:
[
1/7
,
2/7
,
3/7
,
4/7
,
5/7
,
6/7
,
7/7
]
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
nodeVersion
:
20.9.0
nodeVersion
:
18.18.2
afterBuild
:
|
afterBuild
:
|
export IS_TURBOPACK_TEST=1
export IS_TURBOPACK_TEST=1
export TURBOPACK_BUILD=1
export TURBOPACK_BUILD=1
...
@@ -381,7 +381,7 @@ jobs:
...
@@ -381,7 +381,7 @@ jobs:
group
:
[
1/6
,
2/6
,
3/6
,
4/6
,
5/6
,
6/6
]
group
:
[
1/6
,
2/6
,
3/6
,
4/6
,
5/6
,
6/6
]
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
nodeVersion
:
20.9.0
nodeVersion
:
18.18.2
afterBuild
:
|
afterBuild
:
|
export NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/rspack-dev-tests-manifest.json"
export NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/rspack-dev-tests-manifest.json"
...
@@ -414,7 +414,7 @@ jobs:
...
@@ -414,7 +414,7 @@ jobs:
# Empty value uses default
# Empty value uses default
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
nodeVersion
:
20.9.0
nodeVersion
:
18.18.2
afterBuild
:
|
afterBuild
:
|
export NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/rspack-build-tests-manifest.json"
export NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/rspack-build-tests-manifest.json"
export NEXT_TEST_MODE=start
export NEXT_TEST_MODE=start
...
@@ -441,7 +441,7 @@ jobs:
...
@@ -441,7 +441,7 @@ jobs:
group
:
[
1/7
,
2/7
,
3/7
,
4/7
,
5/7
,
6/7
,
7/7
]
group
:
[
1/7
,
2/7
,
3/7
,
4/7
,
5/7
,
6/7
,
7/7
]
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
nodeVersion
:
20.9.0
nodeVersion
:
18.18.2
afterBuild
:
|
afterBuild
:
|
export NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/rspack-build-tests-manifest.json"
export NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/rspack-build-tests-manifest.json"
...
@@ -511,7 +511,7 @@ jobs:
...
@@ -511,7 +511,7 @@ jobs:
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
node
:
[
20
,
22
]
# TODO: use env var like [env.NODE_MAINTENANCE_VERSION, env.NODE_LTS_VERSION]
node
:
[
18
,
20
]
# TODO: use env var like [env.NODE_MAINTENANCE_VERSION, env.NODE_LTS_VERSION]
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
...
@@ -529,7 +529,7 @@ jobs:
...
@@ -529,7 +529,7 @@ jobs:
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
node
:
[
20
,
22
]
# TODO: use env var like [env.NODE_MAINTENANCE_VERSION, env.NODE_LTS_VERSION]
node
:
[
18
,
20
]
# TODO: use env var like [env.NODE_MAINTENANCE_VERSION, env.NODE_LTS_VERSION]
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
...
@@ -680,7 +680,7 @@ jobs:
...
@@ -680,7 +680,7 @@ jobs:
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
nodeVersion
:
20.9.0
nodeVersion
:
18.18.2
afterBuild
:
|
afterBuild
:
|
node run-tests.js \
node run-tests.js \
--concurrency 4 \
--concurrency 4 \
...
@@ -775,7 +775,7 @@ jobs:
...
@@ -775,7 +775,7 @@ jobs:
react
:
[
'
'
]
react
:
[
'
'
]
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
nodeVersion
:
20.9.0
nodeVersion
:
18.18.2
afterBuild
:
|
afterBuild
:
|
export NEXT_TEST_REACT_VERSION="${{ matrix.react }}"
export NEXT_TEST_REACT_VERSION="${{ matrix.react }}"
...
@@ -821,7 +821,7 @@ jobs:
...
@@ -821,7 +821,7 @@ jobs:
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
nodeVersion
:
20.9.0
nodeVersion
:
18.18.2
afterBuild
:
|
afterBuild
:
|
export __NEXT_EXPERIMENTAL_PPR=true
export __NEXT_EXPERIMENTAL_PPR=true
export NEXT_EXTERNAL_TESTS_FILTERS="test/ppr-tests-manifest.json"
export NEXT_EXTERNAL_TESTS_FILTERS="test/ppr-tests-manifest.json"
...
@@ -887,7 +887,7 @@ jobs:
...
@@ -887,7 +887,7 @@ jobs:
uses
:
./.github/workflows/build_reusable.yml
uses
:
./.github/workflows/build_reusable.yml
with
:
with
:
nodeVersion
:
20.9.0
nodeVersion
:
18.18.2
afterBuild
:
|
afterBuild
:
|
export __NEXT_EXPERIMENTAL_PPR=true # for compatibility with the existing tests
export __NEXT_EXPERIMENTAL_PPR=true # for compatibility with the existing tests
export __NEXT_EXPERIMENTAL_CACHE_COMPONENTS=true
export __NEXT_EXPERIMENTAL_CACHE_COMPONENTS=true
...
...
.github/workflows/code_freeze.yml
View file @
4bbc8c7a
...
@@ -29,7 +29,7 @@ jobs:
...
@@ -29,7 +29,7 @@ jobs:
-
name
:
Setup node
-
name
:
Setup node
uses
:
actions/setup-node@v4
uses
:
actions/setup-node@v4
with
:
with
:
node-version
:
20
node-version
:
18
check-latest
:
true
check-latest
:
true
-
name
:
Setup corepack
-
name
:
Setup corepack
run
:
|
run
:
|
...
...
.github/workflows/create_release_branch.yml
View file @
4bbc8c7a
...
@@ -36,7 +36,7 @@ jobs:
...
@@ -36,7 +36,7 @@ jobs:
-
name
:
Setup node
-
name
:
Setup node
uses
:
actions/setup-node@v4
uses
:
actions/setup-node@v4
with
:
with
:
node-version
:
20
node-version
:
18
check-latest
:
true
check-latest
:
true
-
name
:
Clone Next.js repository
-
name
:
Clone Next.js repository
...
...
.github/workflows/integration_tests_reusable.yml
View file @
4bbc8c7a
...
@@ -119,7 +119,7 @@ jobs:
...
@@ -119,7 +119,7 @@ jobs:
group: ${{ fromJSON(needs.generate-matrices.outputs.integration) }}
group: ${{ fromJSON(needs.generate-matrices.outputs.integration) }}
uses: ./.github/workflows/build_reusable.yml
uses: ./.github/workflows/build_reusable.yml
with:
with:
nodeVersion:
20.9.0
nodeVersion:
18.18.2
afterBuild: |
afterBuild: |
# legacy integration tests with `node run-tests.js`
# legacy integration tests with `node run-tests.js`
...
...
.github/workflows/test_examples.yml
View file @
4bbc8c7a
...
@@ -25,7 +25,7 @@ jobs:
...
@@ -25,7 +25,7 @@ jobs:
strategy
:
strategy
:
fail-fast
:
false
fail-fast
:
false
matrix
:
matrix
:
node
:
[
20
,
22
]
node
:
[
18
,
20
]
steps
:
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
with
:
with
:
...
@@ -37,7 +37,7 @@ jobs:
...
@@ -37,7 +37,7 @@ jobs:
-
name
:
Setup node
-
name
:
Setup node
uses
:
actions/setup-node@v4
uses
:
actions/setup-node@v4
with
:
with
:
node-version
:
20
node-version
:
18
check-latest
:
true
check-latest
:
true
-
name
:
Setup corepack
-
name
:
Setup corepack
run
:
|
run
:
|
...
...
.github/workflows/trigger_release.yml
View file @
4bbc8c7a
...
@@ -53,7 +53,7 @@ jobs:
...
@@ -53,7 +53,7 @@ jobs:
-
name
:
Setup node
-
name
:
Setup node
uses
:
actions/setup-node@v4
uses
:
actions/setup-node@v4
with
:
with
:
node-version
:
20
node-version
:
18
check-latest
:
true
check-latest
:
true
-
name
:
Clone Next.js repository
-
name
:
Clone Next.js repository
...
...
package.json
View file @
4bbc8c7a
...
@@ -279,7 +279,7 @@
...
@@ -279,7 +279,7 @@
"
yargs
"
:
"16.2.0"
"
yargs
"
:
"16.2.0"
},
},
"engines"
:
{
"engines"
:
{
"node"
:
">=
20.9
.0"
,
"node"
:
">=
18.18
.0"
,
"pnpm"
:
"9.6.0"
"pnpm"
:
"9.6.0"
},
},
"packageManager"
:
"pnpm@9.6.0"
,
"packageManager"
:
"pnpm@9.6.0"
,
...
...
packages/create-next-app/package.json
View file @
4bbc8c7a
...
@@ -50,6 +50,6 @@
...
@@ -50,6 +50,6 @@
"validate-npm-package-name"
:
"5.0.1"
"validate-npm-package-name"
:
"5.0.1"
},
},
"engines"
:
{
"engines"
:
{
"node"
:
">=
20.9
.0"
"node"
:
">=
18.18
.0"
}
}
}
}
packages/next/package.json
View file @
4bbc8c7a
...
@@ -369,6 +369,6 @@
...
@@ -369,6 +369,6 @@
"vercel"
"vercel"
],
],
"engines"
:
{
"engines"
:
{
"node"
:
"
>=20.9
.0"
"node"
:
"
^18.18.0 || ^19.8.0 || >= 20.0
.0"
}
}
}
}
test/.stats-app/package.json
View file @
4bbc8c7a
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
"react-dom"
:
"19.1.1"
"react-dom"
:
"19.1.1"
},
},
"engines"
:
{
"engines"
:
{
"node"
:
">=
20.9
.0"
"node"
:
">=
18.18
.0"
},
},
"packageManager"
:
"pnpm@9.6.0"
"packageManager"
:
"pnpm@9.6.0"
}
}
test/unit/next-swc.test.ts
View file @
4bbc8c7a
...
@@ -125,7 +125,7 @@ describe('next/swc', () => {
...
@@ -125,7 +125,7 @@ describe('next/swc', () => {
'__NEXT_REQUIRED_NODE_VERSION_RANGE'
'__NEXT_REQUIRED_NODE_VERSION_RANGE'
)
)
expect
(
nextEntryContent
).
toMatch
(
expect
(
nextEntryContent
).
toMatch
(
/For Next.js, Node.js version "
\$\{
"
>=
\d
+
\.\d
+
\.\d
*"
\}
" is required./
/For Next.js, Node.js version "
\$\{
"
\^\d
+
\.\d
+
\.\d
*
\|\|
\^\d
+
\.\d
+
\.\d
*
\|\|
>=
\d
+
\.\d
+
\.\d
*"
\}
" is required./
)
)
})
})
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment