forked from qlik-oss/picasso.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
33 lines (25 loc) · 876 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
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
# https://github.com/Microsoft/azure-pipelines-image-generation/tree/master/images
trigger:
- master
pr:
- master
pool:
# https://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/win/Vs2017-Server2016-Readme.md
vmImage: 'vs2017-win2016'
steps:
- bash: |
yarn install --frozen-lockfile --ignore-optional
yarn run build
displayName: 'yarn install and build'
- bash: npx webdriver-manager update --versions.standalone 3.141.59
displayName: 'Update webdriver manager'
- bash: echo "##vso[task.prependpath]$IEWebDriver;"
displayName: 'Add IE driver executable to PATH'
- script: yarn run test:ptor
displayName: 'Protractor tests'
- task: PublishPipelineArtifact@0
condition: always()
inputs:
targetPath: test/protractor
artifactName: snapshots