Skip to content

Commit 21e8ea3

Browse files
committed
ci(docs): fix taro ui deps not found
1 parent 7476e26 commit 21e8ea3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/deploy-tcb.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ jobs:
3535

3636
- run: pnpm start
3737

38-
- name: Build
38+
- name: Build taro-ui
39+
run: pnpm run build:ui
40+
41+
- name: Build taro-ui-docs
3942
run: pnpm run build:doc
4043

4144
- name: Deploy static to Tencent CloudBase

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"start": "pnpm install --shamefully-hoist",
1414
"preinstall": "npx only-allow pnpm",
1515
"build": "pnpm -r run build",
16+
"build:ui": "pnpm --filter=taro-ui build",
1617
"build:demo": "pnpm --filter=taro-ui-demo build:h5",
1718
"build:doc": "pnpm run build:demo && pnpm --filter=taro-ui-docs build",
1819
"clean": " rimraf **/dist && rimraf **/node_modules",

0 commit comments

Comments
 (0)