Add GH Workflow Action for automated linting (#76)

This commit is contained in:
Sawood Alam 2020-02-25 07:54:57 -05:00 committed by GitHub
parent be92a9373f
commit b3a519f9de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

18
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Awesome Lint
on: [push, pull_request]
jobs:
run-lint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- uses: actions/setup-node@master
with:
node-version: 12.x
- name: Install awesome-lint CLI
run: npm install -g awesome-lint
- name: Run Awesome Lint
run: awesome-lint