使用原生npm构建

This commit is contained in:
狮子耗耗 2025-04-26 13:03:12 +08:00
parent 5395cffd2a
commit 4dbe428e8d

View File

@ -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