Manuel Bustillo dd6b84ec05
All checks were successful
Playwright Tests / test (pull_request) Has been skipped
Add copyright notice / copyright_notice (pull_request) Successful in 38s
Check usage of free licenses / build-static-assets (pull_request) Successful in 1m30s
Disable execution of Playwright tests
2024-12-01 20:06:33 +01:00

32 lines
832 B
YAML

name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
test:
if: false
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright: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 the service that will be tested
run: npm run build
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run the service that will be tested
run: npm run start &
- name: Run Playwright tests
run: pnpm exec playwright test