Skip to content

Commit 46f181e

Browse files
committed
Added github workflow
1 parent 3f0ee95 commit 46f181e

File tree

3 files changed

+406
-1
lines changed

3 files changed

+406
-1
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
6+
jobs:
7+
build:
8+
strategy:
9+
matrix:
10+
os: [macos-latest, ubuntu-latest, windows-latest]
11+
runs-on: ${{ matrix.os }}
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
- name: Install Node.js
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: 10.x
19+
- run: npm install
20+
- run: xvfb-run -a npm test
21+
if: runner.os == 'Linux'
22+
- run: npm test
23+
if: runner.os != 'Linux'

0 commit comments

Comments
 (0)