Create lint.yml

This commit is contained in:
Pedro S. Lopez 2020-02-02 14:52:49 -04:00 • committed by GitHub
commit b99744afa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Lint
on:
push:
pull_request:
jobs:
eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install node v12
uses: actions/setup-node@v1
with:
node-version: 12
- name: npm install
run: npm install
- name: eslint
uses: icrawl/action-eslint@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
job-name: eslint