Skip to content

Commit fdcec00

Browse files
feat: ESLint
1 parent a80cab1 commit fdcec00

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@ on:
99
name: Build
1010

1111
jobs:
12+
eslint:
13+
name: ESLint
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v1
17+
with:
18+
fetch-depth: 1
19+
- name: Install Package dependencies
20+
run: yarn install
21+
- name: Check code style
22+
run: yarn lint
23+
- uses: 8398a7/action-slack@v1
24+
with:
25+
type: failure
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
29+
if: failure()
30+
1231
jest:
1332
name: Jest
1433
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)