diff --git a/.circleci/config.yml b/.circleci/config.yml index a346a97..9375452 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -16,45 +16,22 @@ jobs: working_directory: ~/node-go - api: - path: ~/node-go/server - steps: - - checkout + steps: + - 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! - play: - path: ~/node-go/play-node-go - steps: - - run: yarn test - - 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 + # run tests! + - run: yarn test \ No newline at end of file