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
|
working_directory: ~/node-go
|
||||||
|
|
||||||
steps:
|
|
||||||
api:
|
api:
|
||||||
path: ~/node-go/server
|
path: ~/node-go/server
|
||||||
# - checkout
|
steps:
|
||||||
|
- 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!
|
||||||
- run: yarn test
|
|
||||||
play:
|
play:
|
||||||
path: ~/node-go/play-node-go
|
path: ~/node-go/play-node-go
|
||||||
|
steps:
|
||||||
|
- run: yarn test
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
# Download and cache dependencies
|
# Download and cache dependencies
|
||||||
|
|
Loading…
Reference in a new issue