diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index a498b0bbe..674432053 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -25,7 +25,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version: '>=24.19.0 <25' # OIDC 需要 Node >=22.14.0 和 npm >=11.5.1;Node 24.5.0 起内置 npm >=11.5.1 registry-url: 'https://registry.npmjs.org' - name: Install dependencies @@ -72,5 +72,3 @@ jobs: - name: Publish package to npm run: pnpm lerna publish from-package --dist-tag ${{steps.parse_tag.outputs.dist_tag}} --yes - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/Dockerfile b/Dockerfile index 1de80840e..647dfeebb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as build +FROM node:24.19.0-alpine as build WORKDIR /app/ ADD . . diff --git a/package.json b/package.json index 618b80e50..85e996e3a 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "fs-extra": "^10.1.0", "globals": "^16.0.0", "husky": "^8.0.0", - "lerna": "^7.2.0", + "lerna": "9.0.7", "lint-staged": "^13.2.0", "mysql": "^2.18.1", "picocolors": "^1.0.0", @@ -54,7 +54,7 @@ "not dead" ], "engines": { - "node": ">=16", + "node": "^20.19.0 || ^22.12.0 || >=24.0.0", "pnpm": ">=8" }, "pnpm": {