Skip to content

ci: faff

ci: faff #3

name: demo02 playwright tests
on:
push:
branches: [main]
# paths:
# - 'apps/demo02-presence/**'
pull_request:
branches: [main]
# paths:
# - 'apps/demo02-presence/**'
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/demo02-presence
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.5
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm dlx playwright install --with-deps
- name: Run Playwright tests
run: pnpm run test:integration
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30