Skip to content

🚨 added linting and prettier, fix all, fix run playwri… #22

🚨 added linting and prettier, fix all, fix run playwri…

🚨 added linting and prettier, fix all, fix run playwri… #22

Workflow file for this run

name: Playwright Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
environment: test
services:
web:
image: node:16
ports:
- 3000:3000
options: >-
--health-cmd="curl --fail http://localhost:3000 || exit 1"
--health-interval=10s
--health-timeout=5s
--health-retries=3
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Start server
run: npm start &
env:
CI: true
- name: Wait for server to be ready
run: npx wait-on http://localhost:3000
- name: Run Playwright tests
run: npx playwright test