File tree Expand file tree Collapse file tree 2 files changed +31
-3
lines changed
Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Node CI Build
33on : push
44
55jobs :
6- build :
7- runs-on : ubuntu-latest
6+ build-test-linux :
7+ runs-on : ubuntu-18.04
88
99 strategy :
1010 matrix :
@@ -20,11 +20,37 @@ jobs:
2020 with :
2121 java-version : ' 12.0.2'
2222 architecture : x64
23- - name : Test & build extension
23+ - name : Install OS dependencies
2424 run : |
2525 sudo apt install xvfb
2626 export DISPLAY=':99.0'
2727 Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
28+ - name : Build & test extension
29+ run : |
30+ npm ci
31+ npm run lint
32+ npm test
33+
34+ build-test-windows :
35+ runs-on : windows-2019
36+
37+ strategy :
38+ matrix :
39+ node-version : [12.x]
40+
41+ steps :
42+ - uses : actions/checkout@v1
43+ - name : Use Node.js ${{ matrix.node-version }}
44+ uses : actions/setup-node@v1
45+ with :
46+ node-version : ${{ matrix.node-version }}
47+ - uses : actions/setup-java@v1
48+ with :
49+ java-version : ' 12.0.2'
50+ architecture : x64
51+ - name : Build & test extension
52+ run : |
2853 npm ci
2954 npm run lint
3055 npm test
56+ shell : pwsh
Original file line number Diff line number Diff line change @@ -8,3 +8,5 @@ vsc-extension-quickstart.md
88** /tslint.json
99** /* .map
1010** /* .ts
11+ test-fixtures /**
12+ images /**
You can’t perform that action at this time.
0 commit comments