forked from reg-viz/storycap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
wercker.yml
41 lines (38 loc) · 807 Bytes
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
box: regviz/node-xcb
build:
steps:
- script:
name: set yarn cache
code: |
export YARN_CACHE=$WERCKER_CACHE_DIR/yarn
- script:
name: test
code: |
yarn --frozen-lockfile
yarn bootstrap
yarn build
yarn format:check
yarn lint
yarn test
yarn e2e
deploy:
steps:
- script:
name: set yarn cache
code: |
export YARN_CACHE=$WERCKER_CACHE_DIR/yarn
- script:
name: build
code: |
yarn install --frozen-lockfile
yarn bootstrap
yarn build
- script:
name: Login npm
code: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ~/.npmrc
npm whoami
- script:
name: deploy
code: |
yarn deploy:ci