Skip to content

chore: merge

chore: merge #48

Workflow file for this run

name: E2E Tests
on:
workflow_call:
push:
branches: [main]
pull_request:
types: [
synchronize, # PR was updated
opened, # PR was open
reopened, # PR was closed and is now open again
ready_for_review, # PR was converted from draft to open
]
concurrency:
group: e2e-tests_${{ github.workflow }}_${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
e2e_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Run E2E tests
uses: cypress-io/github-action@v6
with:
install-command: pnpm install --frozen-lockfile
start: pnpm start
wait-on: 'http://[::1]:8080'
command-prefix: 'ELECTRON_EXTRA_LAUNCH_ARGS=--remote-debugging-port=9222'
- name: Run Visual tests
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}