Skip to content

Tutorial

Tutorial #2

Workflow file for this run

name: CI - PR Tests
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: 24
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Start Vite dev server
run: |
nohup npm run dev > vite.log 2>&1 &
npx wait-on http://localhost:5173
env:
CI: true
- name: Run Puppeteer tests (test:ci)
run: npm run test:ci
env:
CI: true