mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
Run npm lint in CI (#416)
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user