Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: pin node 20.18.3 to avoid issue introduced by 20.19.0 (#6063)

Marc Klingen022b234e5773
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 08fa2f26f8..7f54cc2c69 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -40,7 +40,7 @@ jobs:
version: 9.5.0
- uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: "20.18.3"
cache: "pnpm"
cache-dependency-path: "pnpm-lock.yaml"
- name: install dependencies
@@ -97,7 +97,7 @@ jobs:
name: tests-web-sync (node${{ matrix.node-version }}, pg${{ matrix.postgres-version }})
strategy:
matrix:
- node-version: [20]
+ node-version: ["20.18.3"]
postgres-version: [12, 15]
steps:
- name: Set Swap Space
@@ -173,7 +173,7 @@ jobs:
name: tests-web-async (node${{ matrix.node-version }}, pg${{ matrix.postgres-version }}, mode${{ matrix.blob-provider }})
strategy:
matrix:
- node-version: [20]
+ node-version: ["20.18.3"]
postgres-version: [12, 15]
blob-provider: ["", "-azure"]
steps:
@@ -248,7 +248,7 @@ jobs:
name: tests-worker (node${{ matrix.node-version }}, pg${{ matrix.postgres-version }}, mode${{ matrix.blob-provider }})
strategy:
matrix:
- node-version: [20]
+ node-version: ["20.18.3"]
postgres-version: [12, 15]
blob-provider: ["", "-azure"]
steps:
@@ -320,7 +320,7 @@ jobs:
version: 9.5.0
- uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: "20.18.3"
cache: "pnpm"
cache-dependency-path: "pnpm-lock.yaml"
- name: Login to Docker Hub
@@ -370,7 +370,7 @@ jobs:
version: 9.5.0
- uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: "20.18.3"
cache: "pnpm"
cache-dependency-path: "pnpm-lock.yaml"
- name: install dependencies
@@ -457,7 +457,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
- node-version: 20
+ node-version: "20.18.3"
cache-dependency-path: "pnpm-lock.yaml"
- name: Checkout
uses: actions/checkout@v4
diff --git a/.nvmrc b/.nvmrc
index 85aee5a534..4349175bcf 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-v20
\ No newline at end of file
+v20.18.3
\ No newline at end of file
diff --git a/web/Dockerfile b/web/Dockerfile
index 544324c55b..5aaeb51445 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -1,4 +1,4 @@
-FROM --platform=${TARGETPLATFORM:-linux/amd64} node:20-alpine3.20 AS alpine
+FROM --platform=${TARGETPLATFORM:-linux/amd64} node:20.18.3-alpine3.20 AS alpine
# It's important to update the index before installing packages to ensure you're getting the latest versions.
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
diff --git a/worker/Dockerfile b/worker/Dockerfile
index b11cd52b69..d0317c2eb2 100644
--- a/worker/Dockerfile
+++ b/worker/Dockerfile
@@ -1,4 +1,4 @@
-FROM --platform=${TARGETPLATFORM:-linux/amd64} node:20-alpine3.20 AS alpine
+FROM --platform=${TARGETPLATFORM:-linux/amd64} node:20.18.3-alpine3.20 AS alpine
# It's important to update the index before installing packages to ensure you're getting the latest versions.
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.