Skip to content

combine actions workflows #5

combine actions workflows

combine actions workflows #5

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [ main, master, e2e ]
pull_request:
branches: [ main, master, e2e ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: "pnpm"
check-latest: true
- name: Output debugging info
run: node -v && npm -v && pnpm -v
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm run test:e2e
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30