Skip to content

Commit f3fe82a

Browse files
committed
ci: restoring tests before the build
Signed-off-by: Pawel Psztyc <[email protected]>
1 parent 316f225 commit f3fe82a

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/test-and-publish.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@ name: Test and build application
33
on: push
44

55
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
2626
build:
2727
if: github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/master'
28-
# needs: test
28+
needs: test
2929
runs-on: ${{ matrix.os }}
3030
strategy:
3131
matrix:

0 commit comments

Comments
 (0)