Fixes linter issues and adds Github action

This commit is contained in:
Chris Anderson 2022-08-16 16:51:48 -05:00
parent acc4701e5e
commit 7426dbd81d
12 changed files with 49 additions and 37 deletions

23
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: Build
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Node Install
run: |
npm install
- name: Lint
run: |
npm run lint