Manuel Bustillo 4c2f514e8b
Some checks failed
Playwright Tests / test (pull_request) Has been cancelled
Build and start the application
2024-08-11 21:03:34 +02:00

24 lines
641 B
YAML

name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm install -g pnpm && pnpm install
- name: Build and start the service that will be tested
run: npm run build && npm run start &
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm exec playwright test