CI: Run linter job on PRs
This commit is contained in:
parent
b23e3f4496
commit
f833a24d7b
|
@ -1,5 +1,5 @@
|
|||
name: Linter
|
||||
on: push
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
eslint:
|
||||
name: ESLint
|
||||
|
@ -10,4 +10,4 @@ jobs:
|
|||
- name: Install modules
|
||||
run: yarn
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
run: yarn lint
|
||||
|
|
Loading…
Reference in New Issue