Run npm lint in CI (#2197)
This commit is contained in:
parent
7a666e6092
commit
616b2e139a
|
@ -104,10 +104,13 @@ jobs:
|
|||
|
||||
- name: NPM setup & test
|
||||
run: |
|
||||
npm install
|
||||
npm ci
|
||||
npm run dist
|
||||
npm run test
|
||||
|
||||
- name: Run linter
|
||||
run: npm run lint
|
||||
|
||||
- name: Gulp
|
||||
run: gulp ci
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"dist:safari:mas": "npm run build:prod && gulp dist:safari:mas",
|
||||
"dist:safari:masdev": "npm run build:prod && gulp dist:safari:masdev",
|
||||
"dist:safari:dmg": "npm run build:prod && gulp dist:safari:dmg",
|
||||
"lint": "tslint src/**/*.ts || true",
|
||||
"lint": "tslint src/**/*.ts",
|
||||
"lint:fix": "tslint src/**/*.ts --fix",
|
||||
"test": "karma start --single-run",
|
||||
"test:watch": "karma start"
|
||||
|
|
Loading…
Reference in New Issue