Skip to content

Commit 94cb7b5

Browse files
committed
add github workflow
1 parent 098683f commit 94cb7b5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

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

0 commit comments

Comments
 (0)