0Pricing
Sveltejs Academy · Lesson

CI Integration

Run Playwright tests in GitHub Actions or another CI provider on every push.

Run on CI

Run Playwright tests on every push or PR via your CI provider.

GitHub Actions

Use the official Playwright action for setup.

- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npx playwright install --with-deps
- run: npm run test:e2e

All lessons in this course

  1. Playwright Setup in SvelteKit
  2. Writing Page Interaction Tests
  3. Testing Forms and Navigation
  4. CI Integration
← Back to Sveltejs Academy