Skip to content

ci: trigger e2e test to run on every main branch updates (#42) #1

ci: trigger e2e test to run on every main branch updates (#42)

ci: trigger e2e test to run on every main branch updates (#42) #1

Workflow file for this run

name: E2E
on:
workflow_dispatch:
push:
branches: main
jobs:
smoke-test:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Install headless browser
run: pnpm exec playwright install --with-deps
- name: Smoke test
run: pnpm run test:e2e
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30