Skip to content

Commit 1dd1333

Browse files
Create lint.yml
1 parent 835d1b9 commit 1dd1333

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/lint.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Lint
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '*'
7+
8+
jobs:
9+
lint-app:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Install app dependencies
17+
run: cd app && yarn install
18+
19+
- name: Lint /app
20+
run: cd app && yarn lint
21+
22+
lint-service:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v2
28+
29+
- name: Install service dependencies
30+
run: cd service && yarn install
31+
32+
- name: Lint /service
33+
run: cd service && yarn lint

0 commit comments

Comments
 (0)