revert .circleci/config.yml

This commit is contained in:
Sorrel Bri 2020-02-05 13:51:30 -08:00
parent 174f6525b3
commit a322c4d5a5

View file

@ -16,45 +16,22 @@ jobs:
working_directory: ~/node-go working_directory: ~/node-go
api: steps:
path: ~/node-go/server - checkout
steps:
- checkout
# Download and cache dependencies # Download and cache dependencies
- restore_cache: - restore_cache:
keys: keys:
- v1-dependencies-{{ checksum "package.json" }} - v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found # fallback to using the latest cache if no exact match is found
- v1-dependencies- - v1-dependencies-
- run: yarn install - run: yarn install
- save_cache: - save_cache:
paths: paths:
- node_modules - node_modules
key: v1-dependencies-{{ checksum "package.json" }} key: v1-dependencies-{{ checksum "package.json" }}
# run tests! # run tests!
play: - run: yarn test
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