diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml index 1fab784..5609b05 100644 --- a/.github/workflows/build-deploy.yaml +++ b/.github/workflows/build-deploy.yaml @@ -19,7 +19,7 @@ jobs: - name: 🏗️ 安装 Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 - name: 📦 安装 yarn run: npm install -g yarn diff --git a/package.json b/package.json index 3dd6979..e91ee9e 100644 --- a/package.json +++ b/package.json @@ -81,5 +81,8 @@ "tsx": "4.19.2", "yaml": "^2.6.1", "yunzaijs": "^1.0.0-rc.5" + }, + "engines": { + "node": ">=20" } }