Skip to content

Commit 3a1f6d0

Browse files
authored
Add github workflow (#1)
* Add github workflow * fix
1 parent 9224e2c commit 3a1f6d0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/main.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- "**"
9+
jobs:
10+
build:
11+
name: CI
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Setup node 16
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: 16.x
19+
20+
- name: install
21+
run: yarn
22+
23+
- name: lint
24+
run: yarn check:lint
25+
26+
- name: format
27+
run: yarn check:format
28+
29+
- name: ts
30+
run: yarn check:ts
31+
32+
- name: test
33+
run: yarn test

0 commit comments

Comments
 (0)