Merge pull request #243 from 10up/feature/improve-icon-picker #622
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |