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