File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -3,29 +3,29 @@ name: Test and build application
3
3
on : push
4
4
5
5
jobs :
6
- # test:
7
- # runs-on: ${{ matrix.os }}
8
- # strategy:
9
- # matrix:
10
- # os: [macos-latest, ubuntu-latest]
11
- # steps:
12
- # - name: Check out Git repository
13
- # uses: actions/checkout@v1
14
- # - name: Install Node.js, NPM and Yarn
15
- # uses: actions/setup-node@v1
16
- # with:
17
- # node-version: 14
18
- # - name: Install dependencies
19
- # run: npm install
20
- # - name: Test electron application
21
- # uses: GabrielBB/xvfb-action@v1
22
- # with:
23
- # run: npm test
24
- # env:
25
- # CI: true
6
+ test :
7
+ runs-on : ${{ matrix.os }}
8
+ strategy :
9
+ matrix :
10
+ os : [macos-latest, ubuntu-latest]
11
+ steps :
12
+ - name : Check out Git repository
13
+ uses : actions/checkout@v1
14
+ - name : Install Node.js, NPM and Yarn
15
+ uses : actions/setup-node@v1
16
+ with :
17
+ node-version : 14
18
+ - name : Install dependencies
19
+ run : npm install
20
+ - name : Test electron application
21
+ uses : GabrielBB/xvfb-action@v1
22
+ with :
23
+ run : npm test
24
+ env :
25
+ CI : true
26
26
build :
27
27
if : github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/master'
28
- # needs: test
28
+ needs : test
29
29
runs-on : ${{ matrix.os }}
30
30
strategy :
31
31
matrix :
You can’t perform that action at this time.
0 commit comments