Skip to content

Commit 2d9564a

Browse files
authored
feat: lint check (#278)
* feat: lint check * fix: directory * fix: workflow file * fix: workflow * fix: workflow * fix: directory * fix: directory * fix: workflow
1 parent 07ee46c commit 2d9564a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: .github/workflows/lint.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: lint & typescript check
2+
3+
on: push
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
defaults:
9+
run:
10+
working-directory: ./template
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Install dependencies
14+
run: yarn
15+
- run: mv _eslintrc.js .eslintrc.js && mv _prettierrc.js .prettierrc.js
16+
- name: Lint code
17+
run: yarn lint

0 commit comments

Comments
 (0)