add name to gh action
This commit is contained in:
23
.github/workflows/frontend-linting.yml
vendored
23
.github/workflows/frontend-linting.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user