CI: Run linter job on PRs

This commit is contained in:
Ewout ter Hoeven 2020-11-24 11:23:22 +01:00
parent b23e3f4496
commit f833a24d7b
1 changed files with 2 additions and 2 deletions

View File

@ -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