CI: feature/editor-persistence #14

Merged
jaybe merged 1 commits from feature/editor-persistence into main 2025-11-30 09:23:40 +00:00
+2 -19
View File
@@ -12,17 +12,13 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.56.1-jammy
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies - name: Install dependencies
run: | run: |
npm ci npm ci
@@ -48,19 +44,6 @@ jobs:
run: | run: |
npm test npm test
# Playwright 브라우저는 용량이 크기 때문에 캐시를 사용해 설치 시간을 단축한다.
- name: Cache Playwright browsers
if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request'
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- name: Install Playwright browsers
if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request'
run: |
npx playwright install --with-deps
- name: Run Playwright E2E tests - name: Run Playwright E2E tests
if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request' if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request'
run: | run: |