Skip to content

Commit 9a65825

Browse files
committed
Set up a CI build
1 parent 48782c1 commit 9a65825

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)