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 4
4
steps :
5
5
- task : NodeTool@0
6
6
inputs :
7
- versionSpec : ' 8 .x'
7
+ versionSpec : ' 12 .x'
8
8
9
9
- task : Npm@1
10
10
displayName : ' npm ci'
@@ -14,8 +14,31 @@ steps:
14
14
customCommand : ' ci'
15
15
16
16
- task : Npm@1
17
- displayName : ' npm test'
17
+ displayName : ' npm test chrome '
18
18
inputs :
19
19
workingDir : ./tests/
20
20
command : custom
21
21
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 [email protected]
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