From b376f252a28cb5a71114e9d3a5ee560be85e21c1 Mon Sep 17 00:00:00 2001 From: wsvaio Date: Tue, 13 Aug 2024 16:45:12 +0800 Subject: [PATCH] modified: .github/workflows/deploy-docs.yml --- .github/workflows/deploy-docs.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index cf88a5b..e1fc29b 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -33,6 +33,8 @@ jobs: with: fetch-depth: 0 # 如果未启用 lastUpdated,则不需要 - uses: pnpm/action-setup@v3 # 如果使用 pnpm,请取消注释 + with: + version: 9 # - uses: oven-sh/setup-bun@v1 # 如果使用 Bun,请取消注释 - name: Setup Node uses: actions/setup-node@v4 @@ -43,6 +45,8 @@ jobs: uses: actions/configure-pages@v4 - name: Install dependencies run: pnpm install # 或 pnpm install / yarn install / bun install + - name: Build with Wsvaio-ui + run: pnpm --filter "wsvaio-ui" build # 或 pnpm docs:build / yarn docs:build / bun run docs:build - name: Build with VitePress run: pnpm --filter "docs" docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build - name: Upload artifact