add eslint workflow

This commit is contained in:
Michael C 2021-07-05 03:18:58 -04:00
parent 43ae471038
commit e8d5dbec3e
No known key found for this signature in database
GPG key ID: FFB04FB3B878B7B4

18
.github/workflows/eslint.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Linting
on: [push, pull_request]
jobs:
build:
name: Lint with ESLint
runs-on: ubuntu-latest
steps:
# Initialization
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: npm install
- name: Run Tests
timeout-minutes: 5
run: npm run lint