diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 842263c025f..c36d49604ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/package.json b/package.json index f11e5a2209c..c2c08856675 100644 --- a/package.json +++ b/package.json @@ -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": {