From faf68d08360d2a54d0ea22ae78b6cb91ed25e769 Mon Sep 17 00:00:00 2001 From: azerl7 <110671022+azerl7@users.noreply.github.com> Date: Thu, 14 May 2026 17:44:14 +0800 Subject: [PATCH] Update Node.js version in deploy workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改 node.js 版本,构建的时候要求 22,之前是 20 会导致创建 workers 失败 --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6c44508..e29c58a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '22' cache: 'pnpm' - name: Install Dependencies @@ -56,4 +56,4 @@ jobs: - name: Post deployment cleanup run: | rm -f .env*.* - rm -f wrangler*.json \ No newline at end of file + rm -f wrangler*.json