Skip to content

Improve testing chat #124

Improve testing chat

Improve testing chat #124

Workflow file for this run

name: Build and test
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Start services
run: docker-compose -f "docker-compose.yaml" up -d
- working-directory: .
run: npm ci
- working-directory: .
run: npm run format
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- name: Stop containers
if: always()
run: docker-compose -f "docker-compose.yaml" down