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