Skip to content

Commit 25ad678

Browse files
committed
Add github workflow
1 parent f055618 commit 25ad678

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+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
build:
9+
name: Node.js ${{ matrix.node-version }}
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- uses: actions/setup-node@v2
15+
with:
16+
node-version: ${{ matrix.node-version }}
17+
- run: npm install
18+
- run: npm run lint
19+
- run: npm run type:check
20+
- run: npm run test

0 commit comments

Comments
 (0)