Unverified Commit 523474c8 authored by Balázs Orbán's avatar Balázs Orbán Committed by GitHub

chore: lower Node.js version requirement (#56943)

parent 3a459ca9
...@@ -9,7 +9,7 @@ RUN apt install unzip wget curl nano htop screen build-essential pkg-config libs ...@@ -9,7 +9,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/v18.18.2 | bash -s -- -f RUN curl -sfLS https://install-node.vercel.app/v18.17.0 | bash -s -- -f
RUN corepack enable RUN corepack enable
WORKDIR /next-stats WORKDIR /next-stats
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"typescript": "5.1.6" "typescript": "5.1.6"
}, },
"engines": { "engines": {
"node": ">=18.18.2", "node": ">=18.17.0",
"pnpm": "8.9.0" "pnpm": "8.9.0"
}, },
"packageManager": "pnpm@8.9.0" "packageManager": "pnpm@8.9.0"
......
...@@ -146,7 +146,7 @@ jobs: ...@@ -146,7 +146,7 @@ jobs:
group: [1, 2, 3, 4, 5] group: [1, 2, 3, 4, 5]
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
nodeVersion: 18.18.2 nodeVersion: 18.17.0
skipForDocsOnly: 'yes' skipForDocsOnly: 'yes'
afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-tests-manifest.json" TURBOPACK=1 node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --type integration afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-tests-manifest.json" TURBOPACK=1 node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --type integration
secrets: inherit secrets: inherit
...@@ -211,7 +211,7 @@ jobs: ...@@ -211,7 +211,7 @@ jobs:
uses: ./.github/workflows/build_reusable.yml uses: ./.github/workflows/build_reusable.yml
with: with:
nodeVersion: 18.18.2 nodeVersion: 18.17.0
skipForDocsOnly: 'yes' skipForDocsOnly: 'yes'
afterBuild: node run-tests.js --timings -g ${{ matrix.group }}/12 -c ${TEST_CONCURRENCY} --type integration afterBuild: node run-tests.js --timings -g ${{ matrix.group }}/12 -c ${TEST_CONCURRENCY} --type integration
secrets: inherit secrets: inherit
......
...@@ -34,7 +34,7 @@ pr: ...@@ -34,7 +34,7 @@ pr:
variables: variables:
PNPM_CACHE_FOLDER: $(Pipeline.Workspace)/.pnpm-store PNPM_CACHE_FOLDER: $(Pipeline.Workspace)/.pnpm-store
NEXT_TELEMETRY_DISABLED: '1' NEXT_TELEMETRY_DISABLED: '1'
node_version: ^18.18.2 node_version: ^18.17.0
stages: stages:
- stage: Test - stage: Test
......
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
"@types/react-dom": "18.2.13" "@types/react-dom": "18.2.13"
}, },
"engines": { "engines": {
"node": ">=18.18.2", "node": ">=18.17.0",
"pnpm": "8.9.0" "pnpm": "8.9.0"
}, },
"packageManager": "pnpm@8.9.0" "packageManager": "pnpm@8.9.0"
......
...@@ -52,6 +52,6 @@ ...@@ -52,6 +52,6 @@
"validate-npm-package-name": "3.0.0" "validate-npm-package-name": "3.0.0"
}, },
"engines": { "engines": {
"node": ">=18.18.2" "node": ">=18.17.0"
} }
} }
...@@ -316,6 +316,6 @@ ...@@ -316,6 +316,6 @@
"zod": "3.22.3" "zod": "3.22.3"
}, },
"engines": { "engines": {
"node": ">=18.18.2" "node": ">=18.17.0"
} }
} }
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"react-dom": "latest" "react-dom": "latest"
}, },
"engines": { "engines": {
"node": ">=18.18.2", "node": ">=18.17.0",
"pnpm": "8.9.0" "pnpm": "8.9.0"
}, },
"packageManager": "pnpm@8.9.0" "packageManager": "pnpm@8.9.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