Skip to content

Commit a5e50dd

Browse files
authored
Merge pull request #31 from ugogo/feat/add-linters-in-ci
feat: add a linting ci task
2 parents 179bfaf + f41de78 commit a5e50dd

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/lint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Lint
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
run-linters:
7+
name: Run linters
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Check out Git repository
12+
uses: actions/checkout@v2
13+
14+
- name: Set up Node.js
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: 12
18+
19+
- name: Install dependencies
20+
run: npm install
21+
22+
- name: Lint
23+
run: npm run lint

0 commit comments

Comments
 (0)