Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: node version (#12166)

Danny Xu5ae263c3b310
diff --git a/.github/workflows/build-push-ci-image-depot.yml b/.github/workflows/build-push-ci-image-depot.yml
index 1af3f08e5a..b53dabae6d 100644
--- a/.github/workflows/build-push-ci-image-depot.yml
+++ b/.github/workflows/build-push-ci-image-depot.yml
@@ -26,7 +26,7 @@ jobs:
version: 9
- uses: actions/setup-node@v4
with:
- node-version: "20.12.2"
+ node-version: "20.14.0"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
diff --git a/.github/workflows/build-push-release-image.yml b/.github/workflows/build-push-release-image.yml
index 15265e6155..281d91912e 100644
--- a/.github/workflows/build-push-release-image.yml
+++ b/.github/workflows/build-push-release-image.yml
@@ -28,7 +28,7 @@ jobs:
version: 9
- uses: actions/setup-node@v4
with:
- node-version: "20.12.2"
+ node-version: "20.14.0"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml
index f32d5de7a2..23e77755de 100644
--- a/.github/workflows/frontend-tests.yml
+++ b/.github/workflows/frontend-tests.yml
@@ -22,7 +22,7 @@ jobs:
version: 9
- uses: actions/setup-node@v4
with:
- node-version: "20.12.2"
+ node-version: "20.14.0"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
@@ -43,7 +43,7 @@ jobs:
version: 9
- uses: actions/setup-node@v4
with:
- node-version: "20.12.2"
+ node-version: "20.14.0"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 199294e295..aa878c1ed1 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -5,7 +5,7 @@
# $ docker run --init --rm --name bytebase --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase
-FROM node:20.12.2 as frontend
+FROM node:20.14.0 as frontend
ARG RELEASE="release"
diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.aws
index e28ddd2721..a15309fed2 100644
--- a/scripts/Dockerfile.aws
+++ b/scripts/Dockerfile.aws
@@ -5,7 +5,7 @@
# $ docker run --init --rm --name bytebase --publish 8080:8080 --volume ~/.bytebase/data:/var/opt/bytebase bytebase/bytebase
-FROM node:20.12.2 as frontend
+FROM node:20.14.0 as frontend
ARG TARGETARCH
ARG RELEASE="release"
diff --git a/scripts/Dockerfile.render-demo b/scripts/Dockerfile.render-demo
index 956b810e9b..f781c44b34 100644
--- a/scripts/Dockerfile.render-demo
+++ b/scripts/Dockerfile.render-demo
@@ -1,6 +1,6 @@
# This script is for PR preview and demo.bytebase.com on Render ONLY.
-FROM node:20.12.2 as frontend
+FROM node:20.14.0 as frontend
# RENDER_GIT_COMMIT is a render.com provided env var during build.
# https://render.com/docs/environment-variables
diff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.sh
index 03baf5c09a..c36a581ac4 100755
--- a/scripts/build_bytebase.sh
+++ b/scripts/build_bytebase.sh
@@ -20,9 +20,9 @@ then
fi
NODE_VERSION=`node -v | { read v; echo ${v#v}; }`
-if [ "$(version ${NODE_VERSION})" -lt "$(version 20.12.2)" ];
+if [ "$(version ${NODE_VERSION})" -lt "$(version 20.14.0)" ];
then
- echo "${RED}Precheck failed.${NC} Require node.js version >= 20.12.2. Current version ${NODE_VERSION}."; exit 1;
+ echo "${RED}Precheck failed.${NC} Require node.js version >= 20.14.0. Current version ${NODE_VERSION}."; exit 1;
fi
if ! command -v npm > /dev/null