Merge pull request #190 from 1ilsang/renovate/node-20.x #71
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: Playwright | |
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 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: npm install -g pnpm && pnpm install | |
- name: Install Playwright Browsers | |
run: pnpm e2e:install | |
- name: Build post | |
run: pnpm e2e:build | |
- name: Run Playwright tests | |
run: pnpm e2e | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 10 |