feat: 优化 GitHub Actions 工作流中的步骤名称以增强可读性 [skip ci]
This commit is contained in:
10
.github/workflows/playwright.yaml
vendored
10
.github/workflows/playwright.yaml
vendored
@ -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 }}
|
||||
|
Reference in New Issue
Block a user