diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 06c44185..bdc61a05 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -24,6 +24,10 @@ jobs: # 组件库打包 - name: Build packages run: pnpm build + + - name: Before Test + run: pnpm install playwright -g && pnpm exec playwright install + # 测试 - name: Test run: pnpm test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e121a1c..b4823800 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,9 @@ jobs: - name: Build run: pnpm build + - name: Before Test + run: pnpm install playwright -g && pnpm exec playwright install + # 测试 - name: Test run: pnpm test