Skip to content

Commit bba28be

Browse files
committed
Add github ci workflow
1 parent eda8e38 commit bba28be

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)