Skip to content

divide cypress tests #11

divide cypress tests

divide cypress tests #11

Workflow file for this run

name: Test
on: push
jobs:
cypress-e2e-run:
name: Cypress E2E
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: yarn
- uses: cypress-io/github-action@v6
name: Cypress run
with:
build: npm run build
start: npm start
browser: chrome
cypress-component-run:
name: Cypress component
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: yarn
- uses: cypress-io/github-action@v6
name: Cypress run
with:
component: true
build: npm run build
start: npm start
browser: chrome
jest-run:
name: Jest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: yarn
- name: Run tests
run: npm run test