Skip to content

chore: update brain submodule #64

chore: update brain submodule

chore: update brain submodule #64

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: latest
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Clone submodules
run: git submodule update --init --recursive && git submodule foreach git pull origin main
- name: Run Playwright tests
run: (exec pnpm dev &> /dev/null &) && npx wait-on http://localhost:4321 && pnpm test:e2e
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30