Skip to content

Merge pull request #240 from 10up/benlk-patch-1 #611

Merge pull request #240 from 10up/benlk-patch-1

Merge pull request #240 from 10up/benlk-patch-1 #611

Workflow file for this run

name: Run E2E Test Suite
on: [push, workflow_dispatch]
jobs:
cypress:
name: Cypress
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Run Cypress E2E Tests
uses: cypress-io/github-action@v5
with:
build: npm run build --workspaces --if-present
start: npm run start-test-env
wait-on: http://localhost:8888
wait-on-timeout: 120
browser: chrome
record: true
parallel: false
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}