add name to gh action
+name: Frontend Linting and Formatting
on:
push:
- branches:
- - ["develop"]
+ branches: [develop]
pull_request:
- branches:
- - ["develop"]
+ branches: [develop]
jobs:
+ lint:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
- node-version: 16
+ node-version: 14
- run: npm install
- - run: npm lint
- - run: npm format
+ - run: npm test
