fix build?

This commit is contained in:
lilingfeng 2024-08-13 13:56:46 +08:00
parent 7763711a64
commit fb535fe769
3 changed files with 5 additions and 6 deletions

View File

@ -15,7 +15,6 @@ jobs:
- name: "setup node"
uses: "actions/setup-node@v4"
with:
cache: "pnpm"
node-version: 20
- name: Install and Build
run: pnpm install && pnpm run build

View File

@ -32,11 +32,12 @@ jobs:
- name: "setup node"
uses: "actions/setup-node@v4"
with:
cache: "pnpm"
node-version: 20
# 安装 Npm 并构建
- name: Install and Build
run: pnpm install && pnpm run build
- name: Install
run: pnpm install
- name: Build
run: pnpm run build
# 部署
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4

View File

@ -12,8 +12,7 @@
"serve": "docusaurus serve",
"test": "docusaurus build && docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"patch": "patch-package"
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^3.5.1",