Skip to content

Commit ff29eda

Browse files
authored
Add CI
1 parent 86ac9ca commit ff29eda

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+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
8+
jobs:
9+
test:
10+
name: Test
11+
strategy:
12+
matrix:
13+
node: [16.x, 15.x, 14.x, 13.x, 12.x, 10.x, "10.12.0"]
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-node@v2
18+
with:
19+
node-version: ${{ matrix.node }}
20+
- name: Install Packages
21+
run: npm install
22+
- name: Test
23+
run: npm test

0 commit comments

Comments
 (0)