Commit 6e32119f authored by Tim Neutkens's avatar Tim Neutkens

Use Node.js 20.20.0

parent 4a72d438
...@@ -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": ">=20.20.0"
}, },
"packageManager": "pnpm@9.6.0" "packageManager": "pnpm@9.6.0"
} }
...@@ -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/v20.9.0 | bash -s -- -f RUN curl -sfLS https://install-node.vercel.app/v20.20.0 | bash -s -- -f
RUN npm i -g corepack@0.31 RUN npm i -g corepack@0.31
RUN corepack enable RUN corepack enable
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"typescript": "5.1.6" "typescript": "5.1.6"
}, },
"engines": { "engines": {
"node": ">=20.9.0" "node": ">=20.20.0"
}, },
"packageManager": "pnpm@9.6.0" "packageManager": "pnpm@9.6.0"
} }
...@@ -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": ">=20.20.0"
}, },
"packageManager": "pnpm@9.6.0" "packageManager": "pnpm@9.6.0"
} }
...@@ -295,7 +295,7 @@ jobs: ...@@ -295,7 +295,7 @@ jobs:
react: [''] react: ['']
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
nodeVersion: 20.9.0 nodeVersion: 20.20.0
afterBuild: | afterBuild: |
export IS_TURBOPACK_TEST=1 export IS_TURBOPACK_TEST=1
export NEXT_TEST_REACT_VERSION="${{ matrix.react }}" export NEXT_TEST_REACT_VERSION="${{ matrix.react }}"
...@@ -325,7 +325,7 @@ jobs: ...@@ -325,7 +325,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: 20.20.0
afterBuild: | afterBuild: |
export IS_TURBOPACK_TEST=1 export IS_TURBOPACK_TEST=1
export TURBOPACK_BUILD=1 export TURBOPACK_BUILD=1
...@@ -390,7 +390,7 @@ jobs: ...@@ -390,7 +390,7 @@ jobs:
react: [''] react: ['']
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
nodeVersion: 20.9.0 nodeVersion: 20.20.0
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"
export NEXT_TEST_REACT_VERSION="${{ matrix.react }}" export NEXT_TEST_REACT_VERSION="${{ matrix.react }}"
...@@ -426,7 +426,7 @@ jobs: ...@@ -426,7 +426,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: 20.20.0
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
...@@ -461,7 +461,7 @@ jobs: ...@@ -461,7 +461,7 @@ jobs:
react: [''] react: ['']
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
nodeVersion: 20.9.0 nodeVersion: 20.20.0
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_REACT_VERSION="${{ matrix.react }}" export NEXT_TEST_REACT_VERSION="${{ matrix.react }}"
...@@ -791,7 +791,7 @@ jobs: ...@@ -791,7 +791,7 @@ jobs:
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
nodeVersion: 20.9.0 nodeVersion: 20.20.0
afterBuild: | afterBuild: |
export IS_WEBPACK_TEST=1 export IS_WEBPACK_TEST=1
export __NEXT_EXPERIMENTAL_STRICT_ROUTE_TYPES=true export __NEXT_EXPERIMENTAL_STRICT_ROUTE_TYPES=true
...@@ -893,7 +893,7 @@ jobs: ...@@ -893,7 +893,7 @@ jobs:
react: [''] react: ['']
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
nodeVersion: 20.9.0 nodeVersion: 20.20.0
afterBuild: | afterBuild: |
export IS_WEBPACK_TEST=1 export IS_WEBPACK_TEST=1
export NEXT_TEST_REACT_VERSION="${{ matrix.react }}" export NEXT_TEST_REACT_VERSION="${{ matrix.react }}"
...@@ -944,7 +944,7 @@ jobs: ...@@ -944,7 +944,7 @@ jobs:
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
nodeVersion: 20.9.0 nodeVersion: 20.20.0
afterBuild: | afterBuild: |
export __NEXT_CACHE_COMPONENTS=true export __NEXT_CACHE_COMPONENTS=true
export __NEXT_EXPERIMENTAL_APP_NEW_SCROLL_HANDLER=true export __NEXT_EXPERIMENTAL_APP_NEW_SCROLL_HANDLER=true
......
...@@ -88,7 +88,7 @@ on: ...@@ -88,7 +88,7 @@ on:
env: env:
NAPI_CLI_VERSION: 2.18.4 NAPI_CLI_VERSION: 2.18.4
TURBO_VERSION: 2.8.9 TURBO_VERSION: 2.8.9
NODE_LTS_VERSION: 20.9.0 NODE_LTS_VERSION: 20.20.0
# run-tests.js reads `TEST_CONCURRENCY` if no explicit `--concurrency` or `-c` # run-tests.js reads `TEST_CONCURRENCY` if no explicit `--concurrency` or `-c`
# argument is provided # argument is provided
TEST_CONCURRENCY: 8 TEST_CONCURRENCY: 8
......
...@@ -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: 20.20.0
afterBuild: | afterBuild: |
# legacy integration tests with `node run-tests.js` # legacy integration tests with `node run-tests.js`
......
...@@ -309,7 +309,7 @@ ...@@ -309,7 +309,7 @@
"yargs": "16.2.0" "yargs": "16.2.0"
}, },
"engines": { "engines": {
"node": ">=20.9.0", "node": ">=20.20.0",
"pnpm": "9.6.0" "pnpm": "9.6.0"
}, },
"packageManager": "pnpm@9.6.0", "packageManager": "pnpm@9.6.0",
......
...@@ -48,6 +48,6 @@ ...@@ -48,6 +48,6 @@
"validate-npm-package-name": "5.0.1" "validate-npm-package-name": "5.0.1"
}, },
"engines": { "engines": {
"node": ">=20.9.0" "node": ">=20.20.0"
} }
} }
...@@ -366,6 +366,6 @@ ...@@ -366,6 +366,6 @@
"vercel" "vercel"
], ],
"engines": { "engines": {
"node": ">=20.9.0" "node": ">=20.20.0"
} }
} }
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"react-dom": "19.2.4" "react-dom": "19.2.4"
}, },
"engines": { "engines": {
"node": ">=20.9.0" "node": ">=20.20.0"
}, },
"packageManager": "pnpm@9.6.0" "packageManager": "pnpm@9.6.0"
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment