Skip to content

ci: reduce Playwright installation time (#38) #5

ci: reduce Playwright installation time (#38)

ci: reduce Playwright installation time (#38) #5

Workflow file for this run

name: E2E Test
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
timeout-minutes: 60
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '24.14.1'
package-manager-cache: false
- name: Enable Corepack
run: |
npm install -g corepack@latest --force
corepack enable
- name: Install dependencies
run: pnpm install
- name: Build RSC plugin
run: pnpm build
- name: Install Playwright Browsers
run: pnpm exec playwright install chromium
- name: Run Playwright tests
run: pnpm test
- uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30