Skip to content

Commit 4286196

Browse files
committed
add CI github action
1 parent f7c05a5 commit 4286196

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+
3+
on:
4+
push:
5+
branches: [*]
6+
7+
jobs:
8+
install-lint-test:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Install yarn dependencies
13+
run: |
14+
cd template
15+
yarn install
16+
- name: Run linters
17+
run: |
18+
cd template
19+
yarn lint
20+
- name: Run tests
21+
run: |
22+
cd template
23+
yarn test

0 commit comments

Comments
 (0)