add lint and formatting gh action

This commit is contained in:
sadnub 2022-04-27 21:18:52 -04:00
parent 2da0d5ee21
commit 70fbd33d61
1 changed files with 17 additions and 0 deletions

17
.github/workflows/frontend-linting.yml vendored Normal file
View File

@ -0,0 +1,17 @@
on:
push:
branches:
- ["develop"]
pull_request:
branches:
- ["develop"]
jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm lint
- run: npm format