ci: 更新项目依赖并优化测试工作流

This commit is contained in:
严浩
2025-09-12 12:14:33 +08:00
parent 3b76e57df5
commit e82b8575d1

View File

@@ -18,6 +18,8 @@ jobs:
uses: yanhao98/composite-actions/setup-node-environment@25eb4dc0c134cc9df2b7c569aa54140a366b45a8 uses: yanhao98/composite-actions/setup-node-environment@25eb4dc0c134cc9df2b7c569aa54140a366b45a8
# - name: 📥 安装 Playwright 浏览器 # - name: 📥 安装 Playwright 浏览器
# run: pnpm exec playwright install --with-deps # run: pnpm exec playwright install --with-deps
- name: 🔄 更新依赖
run: pnpm update --latest
- name: 📦 构建项目 - name: 📦 构建项目
run: pnpm run build-only run: pnpm run build-only
- name: ▶️ 运行 Playwright 测试 - name: ▶️ 运行 Playwright 测试