add name to gh action
This commit is contained in:
parent
70fbd33d61
commit
910a717230
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue