Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
fix(ci): use cypress docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Shipow committed Jun 17, 2020
1 parent 5f7dc27 commit fa5521b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,20 @@ defaults: &defaults
docker:
- image: circleci/node:12.14.1

cypress: &cypress
working_directory: ~/autocompletejs
docker:
- image: cypress/browsers
environment:
## this enables colors in the output
TERM: xterm

version: 2.1
orbs:
cypress: cypress-io/cypress@1
win: circleci/windows@1

jobs:
test_build:
<<: *defaults
parallelism: 2
steps:
- checkout
- run: *install_yarn_version
Expand Down Expand Up @@ -85,17 +91,13 @@ jobs:
command: yarn run shipjs trigger

test_cypress:
<<: *defaults
<<: *cypress
steps:
- checkout
- run: *install_yarn_version
- restore_cache: *restore_yarn_cache
- run: *run_yarn_install
- save_cache: *save_yarn_cache
- cypress/install:
yarn: true
- run: yarn run cy:verify
- run: yarn run cy:info
- run:
name: Cypress test Actions
command: yarn run cy:run
Expand Down

0 comments on commit fa5521b

Please sign in to comment.