1 | box: node:10
|
2 | services:
|
3 | - mongo:2.6
|
4 | build:
|
5 | steps:
|
6 | - add-to-known_hosts:
|
7 | hostname: bitbucket.org
|
8 | local: true
|
9 | - add-to-known_hosts:
|
10 | hostname: github.com
|
11 | local: true
|
12 | - add-ssh-key:
|
13 | keyname: wercker
|
14 | - script:
|
15 | name: set yarn cache
|
16 | code: |
|
17 | yarn config set cache-folder $WERCKER_CACHE_DIR/yarn
|
18 |
|
19 | - script:
|
20 | name: install dependencies
|
21 | code: |
|
22 | yarn
|
23 | - npm-test
|
24 |
|
\ | No newline at end of file |