From f9a0875d5f9daf8e6e018a69c56360fdc7b5ba27 Mon Sep 17 00:00:00 2001 From: ashoneyy <82497265+ashoneyy@users.noreply.github.com> Date: Sat, 23 May 2026 15:34:02 +0800 Subject: [PATCH 1/3] Update deploy.yml --- .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 6c445088..e29c58ae 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 From be5bc54b4425eb713bab9c4dde9d47fe2283336b Mon Sep 17 00:00:00 2001 From: ashoneyy <82497265+ashoneyy@users.noreply.github.com> Date: Sat, 23 May 2026 16:10:24 +0800 Subject: [PATCH 2/3] Update deploy.yml --- .github/workflows/deploy.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e29c58ae..5023610b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,17 +20,22 @@ jobs: run: | echo "tag=$(git describe --tags --abbrev=0 HEAD^)" >> $GITHUB_OUTPUT continue-on-error: true - - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: 9 - + - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '22' cache: 'pnpm' + + - name: Setup pnpm + uses: pnpm/action-setup@v2 + with: + version: 9 + + - name: Check Node version + run: | + node -v + pnpm -v - name: Install Dependencies run: pnpm install --frozen-lockfile From f5114de2d2764cec6e998ee9351c794e003671ac Mon Sep 17 00:00:00 2001 From: ashoneyy <82497265+ashoneyy@users.noreply.github.com> Date: Sat, 23 May 2026 16:31:48 +0800 Subject: [PATCH 3/3] Update deploy.yml --- .github/workflows/deploy.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5023610b..4961d447 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,25 +21,27 @@ jobs: echo "tag=$(git describe --tags --abbrev=0 HEAD^)" >> $GITHUB_OUTPUT continue-on-error: true + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + run_install: false + - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '22' cache: 'pnpm' - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: 9 - - name: Check Node version run: | node -v pnpm -v - + - name: Install Dependencies run: pnpm install --frozen-lockfile + - name: Run deploy script env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}