Skip to content

feat: Enable DDM (#56) #96

feat: Enable DDM (#56)

feat: Enable DDM (#56) #96

Workflow file for this run

name: Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
env:
PLAYWRIGHT_BROWSERS_PATH: 0 # Places binaries to node_modules/@playwright/test
jobs:
test:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Remove the player
run: rm -rf player
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
- name: Install the application
run: npm run build
- name: Run Jest tests
run: npm run test
- name: Run Playwright tests
run: npm run test-playwright
- if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: snapshot diffs
path: tests/__image_snapshots__