Merge pull request 'Revert 4dbe428e8d212aaeef8adf181d7e5d1efe483519' (#4) from gitea-workflow into main

Reviewed-on: jjnwxs/jingji_TSreference_vue#4
This commit is contained in:
狮子耗耗 2025-04-26 05:22:46 +00:00
commit 66c6a4738c

View File

@ -17,17 +17,23 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: pnpm/action-setup@v4
name: 🔧Install pnpm
with:
version: 9
run_install: false
- name: 🔧Install Node.js - name: 🔧Install Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 20
cache: 'npm' cache: 'pnpm'
- name: 🔧Install dependencies - name: 🔧Install dependencies
run: npm install run: pnpm install
- name: 🔴Build doc - name: 🔴Build doc
run: npm run docs:build run: pnpm run docs:build
- name: 🚀 Deploy to Cloudflare Pages - name: 🚀 Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3 uses: cloudflare/wrangler-action@v3