From fb535fe7694d0a18d36e4f2f1221895a6a652aad Mon Sep 17 00:00:00 2001 From: lilingfeng Date: Tue, 13 Aug 2024 13:56:46 +0800 Subject: [PATCH] fix build? --- .github/workflows/test.yml | 1 - .github/workflows/wiki-deploy.yml | 7 ++++--- package.json | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f38b9e8367..9ec258b870 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.github/workflows/wiki-deploy.yml b/.github/workflows/wiki-deploy.yml index 6a9c7733fa..a58c0b5111 100644 --- a/.github/workflows/wiki-deploy.yml +++ b/.github/workflows/wiki-deploy.yml @@ -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 diff --git a/package.json b/package.json index bd20f466aa..5d332bc091 100644 --- a/package.json +++ b/package.json @@ -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",