add lint and formatting gh action
This commit is contained in:
parent
2da0d5ee21
commit
70fbd33d61
|
@ -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
|
Loading…
Reference in New Issue