File tree Expand file tree Collapse file tree 3 files changed +392
-169
lines changed Expand file tree Collapse file tree 3 files changed +392
-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,22 @@ 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 : ' 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 : ' npm test firefox'
32+ inputs :
33+ targetType : ' inline'
34+ workingDirectory : ./tests/
35+ script : PUPPETEER_PRODUCT=firefox npm run test:ci
You can’t perform that action at this time.
0 commit comments