1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-27 04:03:00 +02:00

Run npm lint in CI (#2197)

This commit is contained in:
Oscar Hinton 2021-12-03 20:35:34 +00:00 committed by GitHub
parent 7a666e6092
commit 616b2e139a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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"