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",