Skip to content

[2νŒ€ 정도은] Chapter 3-2. ν”„λŸ°νŠΈμ—”λ“œ ν…ŒμŠ€νŠΈ μ½”λ“œ 🧦 #526

[2νŒ€ 정도은] Chapter 3-2. ν”„λŸ°νŠΈμ—”λ“œ ν…ŒμŠ€νŠΈ μ½”λ“œ 🧦

[2νŒ€ 정도은] Chapter 3-2. ν”„λŸ°νŠΈμ—”λ“œ ν…ŒμŠ€νŠΈ μ½”λ“œ 🧦 #526

Workflow file for this run

name: CI
on:
pull_request_target:
types:
- synchronize
- opened
- reopened
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run linting
run: pnpm run lint
test:
runs-on: ubuntu-latest
timeout-minutes: 15 # e2e ν¬ν•¨ν•΄μ„œ μ‹œκ°„ 늘림
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run unit tests
run: pnpm run test
- name: Install Playwright browsers
run: npx playwright install --with-deps
- name: Run E2E tests
run: pnpm run test:e2e
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report/
retention-days: 30