From cdbfff4ad2c9ee1448a6361086c6c59dec50ff6d Mon Sep 17 00:00:00 2001 From: Last2014 Date: Sun, 16 Nov 2025 14:26:15 +0900 Subject: [PATCH] Fix: Version as forkflow --- .gitea/workflows/deploy.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 45c0afa..a6c16bf 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,7 +1,6 @@ -name: Build and Deploy to Cloudflare Pages +name: Deploy on: - pull_request: {} push: branches: ["main"] @@ -16,16 +15,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22.16.0 + cache: pnpm - - name: Setup pnpm + - name: Setup pnpm and Install deps uses: pnpm/action-setup@v4 with: - version: 9 - run_install: false - - - name: Install deps - run: pnpm install --frozen-lockfile + version: 10.17.0 + run_install: true - name: Build Astro run: pnpm build