split job steps into api and play

This commit is contained in:
Sorrel Bri 2020-02-05 13:48:48 -08:00
parent 8304f20e5a
commit 174f6525b3

View file

@ -16,10 +16,10 @@ jobs:
working_directory: ~/node-go
steps:
api:
path: ~/node-go/server
# - checkout
api:
path: ~/node-go/server
steps:
- checkout
# Download and cache dependencies
- restore_cache:
@ -36,9 +36,10 @@ jobs:
key: v1-dependencies-{{ checksum "package.json" }}
# run tests!
play:
path: ~/node-go/play-node-go
steps:
- run: yarn test
play:
path: ~/node-go/play-node-go
- checkout
# Download and cache dependencies