Skip to content

Merge pull request #350 from 10up/feature/update-optional-component-r… #1010

Merge pull request #350 from 10up/feature/update-optional-component-r…

Merge pull request #350 from 10up/feature/update-optional-component-r… #1010

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@v4
- name: Setup Node
uses: actions/setup-node@v4
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/wp-admin/index.php, http://localhost:8889'
wait-on-timeout: 220
browser: chrome
record: true
parallel: false
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}