-
Notifications
You must be signed in to change notification settings - Fork 3
/
azure-pipelines.yml
41 lines (32 loc) · 930 Bytes
/
azure-pipelines.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
trigger:
batch: true
branches:
include:
- master
pool:
vmImage: 'vs2017-win2016'
steps:
- script: yarn --ignore-engines
displayName: 'Install npm modules'
- script: yarn lint
displayName: 'Lint UI, libs and extension tests in parallel'
- script: yarn test
displayName: 'Run UI, libs and extension tests in parallel'
- script: yarn build
displayName: 'Compile UI, libs and extension tests in parallel'
- script: yarn e2e-test
displayName: 'End to End Tests'
- task: PublishPipelineArtifact@1
inputs:
path: $(Agent.BuildDirectory)/s/out/dist
artifact: dist
displayName: 'Publish output'
- task: PublishPipelineArtifact@1
inputs:
path: $(Agent.BuildDirectory)/s/test-resources/screenshots
artifact: screenshots
condition: failed()
displayName: 'Publish e2e results'
# TODO need to enable auto releaes of extension
#- script: yarn publish
# displayName: 'Build exention'