Run npm install then lint
This commit is contained in:
parent
1dc7a10d0f
commit
756a469075
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -3,12 +3,6 @@
|
|||||||
|
|
||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -18,4 +12,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm lint
|
- run: npm install
|
||||||
|
- run: npm run lint
|
||||||
|
Loading…
Reference in New Issue
Block a user