split job steps into api and play
This commit is contained in:
parent
8304f20e5a
commit
174f6525b3
1 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue