Commit 732c154 1 parent 5d67091 commit 732c154 Copy full SHA for 732c154
File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -121,5 +121,38 @@ jobs:
121
121
command : custom
122
122
verbose : false
123
123
customCommand : ' run test --silent'
124
+ env :
125
+ DISPLAY : :10
126
+ - job : Release
127
+ condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
128
+ pool :
129
+ name : Hosted Ubuntu 1604
130
+ demands : npm
131
+ steps :
132
+ - task : NodeTool@0
133
+ displayName : ' Use Node 8.x'
134
+ inputs :
135
+ versionSpec : 8.x
136
+ - task : Npm@1
137
+ displayName : ' Install dependencies'
138
+ inputs :
139
+ verbose : false
140
+ - task : Npm@1
141
+ displayName : ' Compile sources'
142
+ inputs :
143
+ command : custom
144
+ verbose : false
145
+ customCommand : ' run build'
146
+ - script : |
147
+ set -e
148
+ /usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
149
+ disown -ar
150
+ displayName: 'Start xvfb'
151
+ - task : Npm@1
152
+ displayName : ' Run semantic-release'
153
+ inputs :
154
+ command : custom
155
+ verbose : false
156
+ customCommand : ' run semantic-release'
124
157
env :
125
158
DISPLAY : :10
You can’t perform that action at this time.
0 commit comments