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
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@ -18,4 +12,5 @@ jobs:
|
||||
with:
|
||||
node-version: 18.x
|
||||
cache: 'npm'
|
||||
- run: npm lint
|
||||
- run: npm install
|
||||
- run: npm run lint
|
||||
|
Loading…
Reference in New Issue
Block a user