You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
687 B
YAML
31 lines
687 B
YAML
version: 2.1
|
|
orbs:
|
|
cypress: cypress-io/cypress@3.1.3
|
|
|
|
jobs:
|
|
install-browser:
|
|
steps:
|
|
- run:
|
|
command: npx @puppeteer/browsers install chrome@stable
|
|
|
|
workflows:
|
|
use-my-orb:
|
|
jobs:
|
|
- install-browser
|
|
- cypress/run:
|
|
cypress-command: npm run cy:ci
|
|
parallelism: 2 # use 2 CircleCI machines to finish quickly
|
|
weekly:
|
|
triggers:
|
|
- schedule:
|
|
cron: "0 0 * * 0"
|
|
filters:
|
|
branches:
|
|
only:
|
|
- main
|
|
jobs:
|
|
- cypress/run:
|
|
cypress-command: npm run cy:ci
|
|
install-browsers: true
|
|
parallelism: 2 # use 2 CircleCI machines to finish quickly
|