Run npm lint in CI (#416)
This commit is contained in:
parent
7444b701e8
commit
d0e4abf297
|
@ -131,7 +131,10 @@ jobs:
|
|||
run: npm run sub:init
|
||||
|
||||
- name: Install
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Run linter
|
||||
run: npm run lint
|
||||
|
||||
- name: Build & Package
|
||||
run: npm run dist
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
"dist:mac": "npm run build:prod && npm run clean && npm run package:mac",
|
||||
"dist:lin": "npm run build:prod && npm run clean && npm run package:lin",
|
||||
"publish:npm": "npm run build:prod && npm publish --access public",
|
||||
"lint": "tslint 'src/**/*.ts' 'spec/**/*.ts' || true",
|
||||
"lint": "tslint 'src/**/*.ts' 'spec/**/*.ts'",
|
||||
"lint:fix": "tslint 'src/**/*.ts' 'spec/**/*.ts' --fix"
|
||||
},
|
||||
"bin": {
|
||||
|
|
Loading…
Reference in New Issue