Skip to content

chore: run local test server before cypress #3

chore: run local test server before cypress

chore: run local test server before cypress #3

Workflow file for this run

name: End-to-end tests
on: [push]
env:
PNPM_CACHE_FOLDER: .pnpm-store
SKIP_INSTALL_SIMPLE_GIT_HOOKS: 1 # Skip installing simple-git-hooks
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Cypress run
uses: cypress-io/github-action@v6
with:
start: pnpm demo:test