add name to gh action

This commit is contained in:
sadnub 2022-04-27 21:26:40 -04:00
parent 70fbd33d61
commit 910a717230
1 changed files with 11 additions and 12 deletions

View File

@ -1,17 +1,16 @@
name: Frontend Linting and Formatting
on:
push:
branches:
- ["develop"]
branches: [develop]
pull_request:
branches:
- ["develop"]
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
lint:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
- run: npm install
- run: npm test