File tree Expand file tree Collapse file tree 3 files changed +401
-169
lines changed Expand file tree Collapse file tree 3 files changed +401
-169
lines changed Original file line number Diff line number Diff line change 44steps :
55- task : NodeTool@0
66 inputs :
7- versionSpec : ' 8 .x'
7+ versionSpec : ' 12 .x'
88
99- task : Npm@1
1010 displayName : ' npm ci'
@@ -14,8 +14,31 @@ steps:
1414 customCommand : ' ci'
1515
1616- task : Npm@1
17- displayName : ' npm test'
17+ displayName : ' npm test chrome '
1818 inputs :
1919 workingDir : ./tests/
2020 command : custom
2121 customCommand : ' run test:ci'
22+
23+ - task : Bash@3
24+ displayName : ' bash npm install puppeteer firefox'
25+ inputs :
26+ targetType : ' inline'
27+ workingDirectory : ./tests/
28+ script : PUPPETEER_PRODUCT=firefox npm install puppeteer@3.0.0
29+
30+ - task : Bash@3
31+ displayName : ' bash npm test'
32+ inputs :
33+ targetType : ' inline'
34+ workingDirectory : ./tests/
35+ script : PUPPETEER_PRODUCT=firefox npm run test:ci
36+
37+ - task : Npm@1
38+ displayName : ' npm test firefox'
39+ inputs :
40+ workingDir : ./tests/
41+ command : custom
42+ customCommand : ' run test:ci'
43+ variables :
44+ PUPPETEER_PRODUCT : firefox
You can’t perform that action at this time.
0 commit comments