Add playwright to Ci setup

This commit is contained in:
Matthias 2023-11-19 15:37:46 +01:00
parent a50a1d8d81
commit 482793d03e

View File

@ -56,6 +56,22 @@ jobs:
start: yarn dev --host start: yarn dev --host
wait-on: 'http://127.0.0.1:3000' wait-on: 'http://127.0.0.1:3000'
# Playwright section
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
# End Playwright section
- name: Build build - name: Build build
run: yarn build run: yarn build