diff --git a/.circleci/config.yml b/.circleci/config.yml index 2dcd5db..007a15a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,24 +14,46 @@ jobs: # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/mongo:3.4.4 - working_directory: ~/repo + working_directory: ~/node-go steps: - - checkout + - api: + path: ~/node-go/server + - checkout - # Download and cache dependencies - - restore_cache: - keys: - - v1-dependencies-{{ checksum "package.json" }} - # fallback to using the latest cache if no exact match is found - - v1-dependencies- + # Download and cache dependencies + - restore_cache: + keys: + - v1-dependencies-{{ checksum "package.json" }} + # fallback to using the latest cache if no exact match is found + - v1-dependencies- - - run: yarn install + - run: yarn install - - save_cache: - paths: - - node_modules - key: v1-dependencies-{{ checksum "package.json" }} + - save_cache: + paths: + - node_modules + key: v1-dependencies-{{ checksum "package.json" }} - # run tests! - - run: yarn test \ No newline at end of file + # run tests! + - run: yarn test + - play: + path: ~/node-go/play-node-go + - checkout + + # Download and cache dependencies + - restore_cache: + keys: + - v1-dependencies-{{ checksum "package.json" }} + # fallback to using the latest cache if no exact match is found + - v1-dependencies- + + - run: yarn install + + - save_cache: + paths: + - node_modules + key: v1-dependencies-{{ checksum "package.json" }} + + # run tests! + - run: yarn test \ No newline at end of file