File tree Expand file tree Collapse file tree 1 file changed +23
-34
lines changed Expand file tree Collapse file tree 1 file changed +23
-34
lines changed Original file line number Diff line number Diff line change @@ -3,38 +3,27 @@ name: CI
3
3
on : [push]
4
4
5
5
jobs :
6
- # build:
7
- # runs-on: ${{ matrix.os }}
8
- # strategy:
9
- # matrix:
10
- # os: [ubuntu-latest, windows-latest, macOS-latest]
11
- # steps:
12
- # - uses: actions/checkout@master
13
- # - name: Start xvfb
14
- # if: runner.os == 'Linux'
15
- # run: |
16
- # set -e
17
- # /usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
18
- # disown -ar
19
- # - name: Use Node.js
20
- # uses: actions/setup-node@master
21
- # with:
22
- # version: 10
23
- # - run: npm install
24
- # - run: npm run compile
25
- # - run: npm run test
26
- # env:
27
- # DISPLAY: :10
28
- # - run: npm run package
29
- # if: runner.os == 'Linux'
30
- publish :
31
- # needs: build
32
- runs-on : ubuntu-latest
6
+ build :
7
+ runs-on : ${{ matrix.os }}
8
+ strategy :
9
+ matrix :
10
+ os : [ubuntu-latest, windows-latest, macOS-latest]
33
11
steps :
34
- - uses : actions/checkout@master
35
- - run : ls -la
36
- - uses : daimor/actions/hub@master
37
- env :
38
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
- with :
40
- args : release
12
+ - uses : actions/checkout@master
13
+ - name : Start xvfb
14
+ if : runner.os == 'Linux'
15
+ run : |
16
+ set -e
17
+ /usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
18
+ disown -ar
19
+ - name : Use Node.js
20
+ uses : actions/setup-node@master
21
+ with :
22
+ version : 10
23
+ - run : npm install
24
+ - run : npm run compile
25
+ - run : npm run test
26
+ env :
27
+ DISPLAY : :10
28
+ - run : npm run package
29
+ if : runner.os == 'Linux'
You can’t perform that action at this time.
0 commit comments