From ccf535ad81429c52aad79e6cc0fa41921f628411 Mon Sep 17 00:00:00 2001 From: "BugMaker.Huang" Date: Fri, 22 Mar 2024 11:48:34 +0800 Subject: [PATCH] ci(ci): fixed ci --- .github/workflows/gh-pages.yml | 4 ++++ .github/workflows/release.yml | 3 +++ 2 files changed, 7 insertions(+) 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