From c0ddb39562920dd1f730bf71dbea326d72194e60 Mon Sep 17 00:00:00 2001 From: Jaybe Date: Sun, 30 Nov 2025 18:07:05 +0900 Subject: [PATCH] =?UTF-8?q?CI=20=EC=A0=95=EC=B1=85=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f8e7372..c6cb271 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -12,17 +12,13 @@ on: jobs: test: runs-on: ubuntu-latest + container: + image: mcr.microsoft.com/playwright:v1.56.1-jammy steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - - name: Install dependencies run: | npm ci @@ -48,19 +44,6 @@ jobs: run: | 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 if: github.ref == 'refs/heads/main' || github.event_name == 'pull_request' run: |