Skip to content

Commit 0db4a9f

Browse files
committed
run tests using npm script [skip ci]
1 parent 85adb7c commit 0db4a9f

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

build.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ jobs:
3232
command: custom
3333
verbose: false
3434
customCommand: 'run build'
35-
- script: 'node node_modules/vscode/bin/test'
35+
- task: Npm@1
3636
displayName: 'Run tests'
37+
inputs:
38+
command: custom
39+
verbose: false
40+
customCommand: 'run test --silent'
3741
- job: macOS
3842
strategy:
3943
matrix:
@@ -67,8 +71,12 @@ jobs:
6771
command: custom
6872
verbose: false
6973
customCommand: 'run build'
70-
- script: 'node node_modules/vscode/bin/test'
74+
- task: Npm@1
7175
displayName: 'Run tests'
76+
inputs:
77+
command: custom
78+
verbose: false
79+
customCommand: 'run test --silent'
7280
- job: Linux
7381
strategy:
7482
matrix:
@@ -107,7 +115,11 @@ jobs:
107115
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
108116
disown -ar
109117
displayName: 'Start xvfb'
110-
- script: 'node node_modules/vscode/bin/test'
118+
- task: Npm@1
111119
displayName: 'Run tests'
120+
inputs:
121+
command: custom
122+
verbose: false
123+
customCommand: 'run test --silent'
112124
env:
113125
DISPLAY: :10

0 commit comments

Comments
 (0)