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.

34 lines
752 B
YAML

version: 2.1
orbs:
cypress: cypress-io/cypress@3.1.3
node: circleci/node@5.0.2
jobs:
install-browser: # this can be any name you choose
executor: node/default
steps:
- run:
command: npx @puppeteer/browsers install chrome@stable
- run:
command: |
ls && owd
- persist_to_workspace:
root: ~/project
paths:
- .
test: # this can be any name you choose
executor: node/default
steps:
- run:
command: |
ls && pwd
workflows:
run-cy-tests:
jobs:
- install-browser
- test
- cypress/run:
requires:
- install-browser
cypress-command: 'npm run cy:ci'
parallelism: 2