Skip to content

Commit 245eb34

Browse files
authored
ci: update tdesign-component-repositories-ci (#2156)
* ci: update tdesign-component-repositories-ci * chore: fix
1 parent 1535322 commit 245eb34

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/tdesign-component-repositories-ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ jobs:
8686
- test
8787
- build
8888
- preview
89+
include:
90+
- script: lint
91+
run: pnpm run lint
92+
- script: test
93+
run: pnpm -C packages/tdesign-vue-next/test test
94+
- script: build
95+
run: pnpm -C internal/builds build:vue-next
96+
- script: preview
97+
run: pnpm -C packages/tdesign-vue-next/site build
8998
steps:
9099
- name: Checkout tdesign-vue-next
91100
uses: actions/checkout@v4
@@ -106,11 +115,7 @@ jobs:
106115

107116
- run: pnpm install
108117

109-
- if: matrix.script != 'preview'
110-
run: pnpm run ${{ matrix.script }}
111-
112-
- if: matrix.script == 'preview'
113-
run: pnpm run site:preview
118+
- run: ${{ matrix.run }}
114119

115120
- if: matrix.script == 'preview'
116121
run: |

0 commit comments

Comments
 (0)