Skip to content

better github action #2

better github action

better github action #2

Workflow file for this run

name: Website-e2e
on:
push:
branches: [add/website-e2e-ci]
pull_request:
branches: [main]
jobs:
cypress-run:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.5.1'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Cypress run
uses: cypress-io/github-action@v6
with:
install: false
project: ./packages/website
auto-cancel-after-failures: 2
command: npm run e2e
wait-on: 'http://localhost:3000'