feat(github-action): Separate jobs for enhancement build script #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
e2e: | |
timeout-minutes: 60 | |
runs-on: macos-latest | |
env: | |
TZ: Asia/Seoul | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 🌱 Install pnpm | |
uses: ./.github/actions/pnpm-install | |
- name: 🪛 Install playwright | |
uses: ./.github/actions/playwright-install | |
- name: Run Playwright tests | |
run: pnpm e2e | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 10 |