Skip to content

Commit

Permalink
ci(docs): fix taro ui deps not found
Browse files Browse the repository at this point in the history
  • Loading branch information
drl990114 committed Nov 9, 2023
1 parent 7476e26 commit 21e8ea3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-tcb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 21e8ea3

Please sign in to comment.