feat: 优化 GitHub Actions 工作流中的步骤名称以增强可读性 [skip ci]

This commit is contained in:
mini2024
2025-04-03 00:39:18 +08:00
parent bcec165c2f
commit 3d20ff6e83
3 changed files with 15 additions and 12 deletions

View File

@ -14,9 +14,9 @@ jobs:
outputs:
url: ${{ steps.surge_deploy.outputs.url }}
steps:
- name: ⚙️ Setup Node Environment
- name: ⚙️ 设置 Node 环境
uses: yanhao98/composite-actions/setup-node-environment@502d85b5b52619fd7b74aa48da428de4a4d2c87b
- name: 🔨 Build Project
- name: 🔨 构建项目
run: pnpm run build-only
env:
VITE_BUILD_COMMIT: ${{ github.sha }}
@ -29,11 +29,11 @@ jobs:
runs-on: ubuntu-latest
container: yanhao98/runner-images:pnpm-with-playwright
steps:
- name: ⚙️ Setup Node Environment
- name: ⚙️ 设置 Node 环境
uses: yanhao98/composite-actions/setup-node-environment@502d85b5b52619fd7b74aa48da428de4a4d2c87b
- name: 📥 Install Playwright Browsers
- name: 📥 安装 Playwright 浏览器
run: pnpm exec playwright install --with-deps
- name: ▶️ Run Playwright tests
- name: ▶️ 运行 Playwright 测试
run: npx playwright test
env:
BASE_URL: ${{ needs.surge.outputs.url }}