File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 11
11
steps :
12
12
- uses : actions/checkout@master
13
13
- run : git fetch --depth=1 origin +refs/tags/*:refs/tags/*
14
- - name : Start xvfb
15
- if : runner.os == 'Linux'
16
- run : |
17
- set -e
18
- /usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
19
- disown -ar
20
14
- name : Set an output
21
15
id : set-version
22
16
if : runner.os == 'Linux'
@@ -36,12 +30,13 @@ jobs:
36
30
- name : Use Node.js
37
31
uses : actions/setup-node@master
38
32
with :
39
- node-version : 10
33
+ node-version : 12.x
40
34
- run : npm install
41
35
- run : npm run compile
42
- - run : npm run test
43
- env :
44
- DISPLAY : :10
36
+ - name : npm test
37
+
38
+ with :
39
+ run : npm run test
45
40
- name : Build package
46
41
if : runner.os == 'Linux'
47
42
run : |
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ async function main() {
17
17
// Download VS Code, unzip it and run the integration test
18
18
await runTests ( { extensionDevelopmentPath, extensionTestsPath, launchArgs } ) ;
19
19
} catch ( err ) {
20
- console . error ( "Failed to run tests" ) ;
20
+ console . error ( "Failed to run tests" , err ) ;
21
21
process . exit ( 1 ) ;
22
22
}
23
23
}
You can’t perform that action at this time.
0 commit comments