From 21e8ea36e985a43c2ba61486ad1b69772e740da6 Mon Sep 17 00:00:00 2001 From: drl990114 Date: Thu, 9 Nov 2023 23:28:13 +0800 Subject: [PATCH] ci(docs): fix taro ui deps not found --- .github/workflows/deploy-tcb.yml | 5 ++++- package.json | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-tcb.yml b/.github/workflows/deploy-tcb.yml index 5cd9e2d8..0fbea226 100644 --- a/.github/workflows/deploy-tcb.yml +++ b/.github/workflows/deploy-tcb.yml @@ -35,7 +35,10 @@ jobs: - run: pnpm start - - name: Build + - name: Build taro-ui + run: pnpm run build:ui + + - name: Build taro-ui-docs run: pnpm run build:doc - name: Deploy static to Tencent CloudBase diff --git a/package.json b/package.json index 9e352874..f088c4e1 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "start": "pnpm install --shamefully-hoist", "preinstall": "npx only-allow pnpm", "build": "pnpm -r run build", + "build:ui": "pnpm --filter=taro-ui build", "build:demo": "pnpm --filter=taro-ui-demo build:h5", "build:doc": "pnpm run build:demo && pnpm --filter=taro-ui-docs build", "clean": " rimraf **/dist && rimraf **/node_modules",