From 3b0c1d6a3d30f3ae0a24067bb1d225a79cc3445e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=AE=E5=AD=90=E8=80=97=E8=80=97?= <3116737282@qq.com> Date: Sat, 26 Apr 2025 13:03:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=8E=9F=E7=94=9Fnpm?= =?UTF-8?q?=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index f364471..4b0c989 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -17,23 +17,17 @@ jobs: with: fetch-depth: 0 - - uses: pnpm/action-setup@v4 - name: 🔧Install pnpm - with: - version: 9 - run_install: false - - name: 🔧Install Node.js uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' + cache: 'npm' - name: 🔧Install dependencies - run: pnpm install + run: npm install - name: 🔴Build doc - run: pnpm run docs:build + run: npm run docs:build - name: 🚀 Deploy to Cloudflare Pages uses: cloudflare/wrangler-action@v3