Skip to content

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

chore: node 20.11.1 (#11133)

Danny Xu75f87ce3dfda
diff --git a/.github/workflows/build-artifacts-and-draft-release.yml b/.github/workflows/build-artifacts-and-draft-release.yml
index 95f4dab7c6..54df1054ef 100644
--- a/.github/workflows/build-artifacts-and-draft-release.yml
+++ b/.github/workflows/build-artifacts-and-draft-release.yml
@@ -18,7 +18,7 @@ jobs:
version: 8.12.1
- uses: actions/setup-node@v4
with:
- node-version: "20.10.0"
+ node-version: "20.11.1"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
diff --git a/.github/workflows/build-push-ci-image-depot.yml b/.github/workflows/build-push-ci-image-depot.yml
index ce819271aa..710320238d 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: 8.12.1
- uses: actions/setup-node@v4
with:
- node-version: "20.10.0"
+ node-version: "20.11.1"
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 a48b5dd492..38d991c90f 100644
--- a/.github/workflows/build-push-release-image.yml
+++ b/.github/workflows/build-push-release-image.yml
@@ -28,7 +28,7 @@ jobs:
version: 8.12.1
- uses: actions/setup-node@v4
with:
- node-version: "20.10.0"
+ node-version: "20.11.1"
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 6ae64c7ee8..d03a9a422f 100644
--- a/.github/workflows/frontend-tests.yml
+++ b/.github/workflows/frontend-tests.yml
@@ -22,7 +22,7 @@ jobs:
version: 8.12.1
- uses: actions/setup-node@v4
with:
- node-version: "20.10.0"
+ node-version: "20.11.1"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
@@ -40,7 +40,7 @@ jobs:
version: 8.12.1
- uses: actions/setup-node@v4
with:
- node-version: "20.10.0"
+ node-version: "20.11.1"
cache: pnpm
cache-dependency-path: "frontend/pnpm-lock.yaml"
- run: pnpm install --frozen-lockfile
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 5615dd8ba1..898cc0ec21 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 as frontend
+FROM node:20.11.1 as frontend
ARG RELEASE="release"
diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.aws
index c42183c2e6..0f9faa5670 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 as frontend
+FROM node:20.11.1 as frontend
ARG TARGETARCH
ARG RELEASE="release"
diff --git a/scripts/Dockerfile.render-demo b/scripts/Dockerfile.render-demo
index a11370da2e..c36e8c67a2 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 as frontend
+FROM node:20.11.1 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 a23652973f..dc0a1d8233 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.10.0)" ];
+if [ "$(version ${NODE_VERSION})" -lt "$(version 20.11.1)" ];
then
- echo "${RED}Precheck failed.${NC} Require node.js version >= 20.10.0. Current version ${NODE_VERSION}."; exit 1;
+ echo "${RED}Precheck failed.${NC} Require node.js version >= 20.11.1. Current version ${NODE_VERSION}."; exit 1;
fi
if ! command -v npm > /dev/null