forked from Quramy/ngx-typed-forms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwercker.yml
37 lines (36 loc) · 836 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
box: quramy/node-nightmare
build:
# The steps that will be executed on build
# Steps make up the actions in your pipeline
# Read more about steps on our dev center:
# http://devcenter.wercker.com/docs/steps/index.html
steps:
- script:
name: set yarn cache
code: |
export YARN_CACHE=$WERCKER_CACHE_DIR/yarn
- script:
name: install dependencies
code: |
HOME=$YARN_CACHE yarn
- script:
name: build
code: |
npm run build
- script:
name: start xvfb daemon
code: |
export DISPLAY=':99.0'
xvfbd start
- script:
name: test
code: |
npm run test
- script:
name: stop xvfb daemon
code: |
export DISPLAY=':99.0'
xvfbd stop
deploy:
steps:
- turistforeningen/npm-publish