Skip to content

Commit fe925cc

Browse files
abetomoDeviaVir
authored andcommitted
Add GitHub Actions workflow (#499)
1 parent fc9e018 commit fe925cc

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/workflow.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Node CI
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
name: Test on node ${{ matrix.node-version }} and ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
node-version: [8.x, 10.x, 12.x]
12+
os: [ubuntu-latest, windows-latest, macos-latest]
13+
steps:
14+
- uses: actions/checkout@master
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
- name: npm install, and test
19+
run: |
20+
npm install
21+
npm test

0 commit comments

Comments
 (0)