Skip to content

Commit d19bc6d

Browse files
committed
ci: adds github actions
1 parent 9bd6f19 commit d19bc6d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yml

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

0 commit comments

Comments
 (0)