使用原生npm构建
This commit is contained in:
parent
880574ba4b
commit
3b0c1d6a3d
@ -17,23 +17,17 @@ 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: 'pnpm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: 🔧Install dependencies
|
- name: 🔧Install dependencies
|
||||||
run: pnpm install
|
run: npm install
|
||||||
|
|
||||||
- name: 🔴Build doc
|
- name: 🔴Build doc
|
||||||
run: pnpm run docs:build
|
run: npm run docs:build
|
||||||
|
|
||||||
- name: 🚀 Deploy to Cloudflare Pages
|
- name: 🚀 Deploy to Cloudflare Pages
|
||||||
uses: cloudflare/wrangler-action@v3
|
uses: cloudflare/wrangler-action@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user