Skip to content

Commit 992e16a

Browse files
committed
Added commit.yml
1 parent ebca3ab commit 992e16a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/commit.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)