Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
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.ymlindex 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@v4with:- node-version: "20.12.2"+ node-version: "20.14.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfilediff --git a/.github/workflows/build-push-release-image.yml b/.github/workflows/build-push-release-image.ymlindex 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@v4with:- node-version: "20.12.2"+ node-version: "20.14.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfilediff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.ymlindex 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@v4with:- node-version: "20.12.2"+ node-version: "20.14.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfile@@ -43,7 +43,7 @@ jobs:version: 9- uses: actions/setup-node@v4with:- node-version: "20.12.2"+ node-version: "20.14.0"cache: pnpmcache-dependency-path: "frontend/pnpm-lock.yaml"- run: pnpm install --frozen-lockfilediff --git a/scripts/Dockerfile b/scripts/Dockerfileindex 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 frontendARG RELEASE="release"diff --git a/scripts/Dockerfile.aws b/scripts/Dockerfile.awsindex 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 frontendARG TARGETARCHARG RELEASE="release"diff --git a/scripts/Dockerfile.render-demo b/scripts/Dockerfile.render-demoindex 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-variablesdiff --git a/scripts/build_bytebase.sh b/scripts/build_bytebase.shindex 03baf5c09a..c36a581ac4 100755--- a/scripts/build_bytebase.sh+++ b/scripts/build_bytebase.sh@@ -20,9 +20,9 @@ thenfiNODE_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;fiif ! command -v npm > /dev/null