ci: 优化 Playwright 测试工作流

This commit is contained in:
严浩
2025-09-09 15:43:30 +08:00
parent 706c60ddb8
commit 88483c26e6
2 changed files with 4 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ jobs:
uses: yanhao98/composite-actions/setup-node-environment@25eb4dc0c134cc9df2b7c569aa54140a366b45a8
# - name: 📥 安装 Playwright 浏览器
# run: pnpm exec playwright install --with-deps
- name: 📦 构建项目
run: pnpm run build-only
- name: ▶️ 运行 Playwright 测试
run: |
npx playwright test
run: pnpm exec playwright test