From 60bf78e622f11b1a75cd4eb6b27d17b4d386404a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=AE=E5=AD=90=E8=80=97=E8=80=97?= Date: Mon, 2 Feb 2026 00:26:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=EF=BC=8C=E6=9B=BF=E6=8D=A2=20pnpm=20=E4=B8=BA=20Bun=20?= =?UTF-8?q?=E4=BD=9C=E4=B8=BA=E4=BE=9D=E8=B5=96=E7=AE=A1=E7=90=86=E5=B7=A5?= =?UTF-8?q?=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 13 ++++++------- .gitea/workflows/dev.yaml | 15 +++++++-------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 7ddf155..f822d74 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -21,22 +21,21 @@ jobs: with: fetch-depth: 0 - - uses: pnpm/action-setup@v4 - name: 🔧Install pnpm + - name: 🔧Install Bun + uses: oven-sh/setup-bun@v2 with: - run_install: false + bun-version: latest - name: 🔧Install Node.js uses: actions/setup-node@v4 with: - node-version: 20 - cache: 'pnpm' + node-version: 22 - name: 🔧Install dependencies - run: pnpm install + run: bun install - name: 🔴Build doc - run: pnpm run docs:build + run: bun run docs:build - name: 🚀 Deploy to Cloudflare Pages uses: cloudflare/wrangler-action@v3 diff --git a/.gitea/workflows/dev.yaml b/.gitea/workflows/dev.yaml index 3a5d8a8..c63cc86 100644 --- a/.gitea/workflows/dev.yaml +++ b/.gitea/workflows/dev.yaml @@ -18,22 +18,21 @@ jobs: with: fetch-depth: 0 - - uses: pnpm/action-setup@v4 - name: 🔧Install pnpm + - name: 🔧Install Bun + uses: oven-sh/setup-bun@v2 with: - run_install: false + bun-version: latest - name: 🔧Install Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: 20 - cache: 'pnpm' + node-version: 22 - name: 🔧Install dependencies - run: pnpm install + run: bun install - name: 🔴Build doc - run: pnpm run docs:build + run: bun run docs:build - name: 🚀 Deploy to Cloudflare Pages id: deploy