Skip to content

cicd: possible fix for running server #22

cicd: possible fix for running server

cicd: possible fix for running server #22

Workflow file for this run

name: Playwright Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
# Start local development server
# playwright.config.ts = should start the webServer:{}
- name: Run Playwright tests
run: npx playwright test
- name: Archive test results
uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 7