master
helenanull 2 years ago
parent a7fcdbbd09
commit aec198e695

@ -1,30 +1,30 @@
version: 2.1 version: 2.1
orbs: orbs:
cypress: cypress-io/cypress@3.1.3 cypress: cypress-io/cypress@3.1.3
jobs: jobs:
install-browser: install-browser:
steps: steps:
- checkout - checkout
workflows: workflows:
use-my-orb: use-my-orb:
jobs: jobs:
- install-browser - install-browser
- cypress/run: - cypress/run:
requires: requires:
- install-browser - install-browser
cypress-command: npm run cy:ci cypress-command: npm run cy:ci
parallelism: 2 # use 2 CircleCI machines to finish quickly parallelism: 2 # use 2 CircleCI machines to finish quickly
weekly: weekly:
triggers: triggers:
- schedule: - schedule:
cron: "0 0 * * 0" cron: "0 0 * * 0"
filters: filters:
branches: branches:
only: only:
- main - main
jobs: jobs:
- cypress/run: - cypress/run:
cypress-command: npm run cy:ci cypress-command: npm run cy:ci
parallelism: 2 # use 2 CircleCI machines to finish quickly parallelism: 2 # use 2 CircleCI machines to finish quickly

Loading…
Cancel
Save