diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de5b4be582..99618c1033 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/package.json b/package.json index 77393820c9..35149e2232 100644 --- a/package.json +++ b/package.json @@ -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"