diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 462ece303e..6c5d6f4135 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -90,7 +90,7 @@ jobs: uses: actions/setup-node@v6 if: steps.changed-files.outputs.any_changed == 'true' with: - node-version: 22 + node-version: 24 cache: pnpm cache-dependency-path: ./web/pnpm-lock.yaml diff --git a/.github/workflows/tool-test-sdks.yaml b/.github/workflows/tool-test-sdks.yaml index 0259ef2232..ec392cb3b2 100644 --- a/.github/workflows/tool-test-sdks.yaml +++ b/.github/workflows/tool-test-sdks.yaml @@ -16,10 +16,6 @@ jobs: name: unit test for Node.js SDK runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16, 18, 20, 22] - defaults: run: working-directory: sdks/nodejs-client @@ -29,10 +25,10 @@ jobs: with: persist-credentials: false - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: ${{ matrix.node-version }} + node-version: 24 cache: '' cache-dependency-path: 'pnpm-lock.yaml' diff --git a/.github/workflows/translate-i18n-claude.yml b/.github/workflows/translate-i18n-claude.yml index 003e7ffc6e..8344af9890 100644 --- a/.github/workflows/translate-i18n-claude.yml +++ b/.github/workflows/translate-i18n-claude.yml @@ -57,7 +57,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: 'lts/*' + node-version: 24 cache: pnpm cache-dependency-path: ./web/pnpm-lock.yaml diff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.yml index 0fd1d5d22b..65c958a453 100644 --- a/.github/workflows/web-tests.yml +++ b/.github/workflows/web-tests.yml @@ -31,7 +31,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 cache: pnpm cache-dependency-path: ./web/pnpm-lock.yaml diff --git a/web/.nvmrc b/web/.nvmrc index 5767036af0..a45fd52cc5 100644 --- a/web/.nvmrc +++ b/web/.nvmrc @@ -1 +1 @@ -22.21.1 +24 diff --git a/web/Dockerfile b/web/Dockerfile index 9e08910a77..d71b1b6ba6 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1,5 +1,5 @@ # base image -FROM node:22.21.1-alpine3.23 AS base +FROM node:24-alpine AS base LABEL maintainer="takatost@gmail.com" # if you located in China, you can use aliyun mirror to speed up diff --git a/web/README.md b/web/README.md index ae4338d7be..13780eec6c 100644 --- a/web/README.md +++ b/web/README.md @@ -8,8 +8,8 @@ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next Before starting the web frontend service, please make sure the following environment is ready. -- [Node.js](https://nodejs.org) >= v22.11.x -- [pnpm](https://pnpm.io) v10.x +- [Node.js](https://nodejs.org) +- [pnpm](https://pnpm.io) > [!TIP] > It is recommended to install and enable Corepack to manage package manager versions automatically: diff --git a/web/package.json b/web/package.json index fab33f7608..bdbac2af83 100644 --- a/web/package.json +++ b/web/package.json @@ -10,9 +10,6 @@ "default": "./i18n-config/lib.client.ts" } }, - "engines": { - "node": ">=22.12.0" - }, "browserslist": [ "last 1 Chrome version", "last 1 Firefox version",