Skip to content

Feature/cv and cookie update (#22) #139

Feature/cv and cookie update (#22)

Feature/cv and cookie update (#22) #139

Workflow file for this run

name: Playwright Tests
env:
DEBUG: pw:webserver*
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
- feature/**
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm playwright install --with-deps
- name: Run jsunit tests
run: pnpm test:unit
- name: Run E2E tests
run: pnpm test:e2e
- uses: actions/upload-artifact@v2
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30