From f0a0648922318b51021de63631c1574dc3451d9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=90=E6=89=AC?= Date: Mon, 23 Aug 2021 19:30:08 +0800 Subject: [PATCH] [FLINK-23112][runtime-web] Enforce npm run lint in ci This closes #16902. --- flink-runtime-web/pom.xml | 4 ++-- flink-runtime-web/web-dashboard/package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flink-runtime-web/pom.xml b/flink-runtime-web/pom.xml index 6468be12e0e48..ac8dc37bf6dec 100644 --- a/flink-runtime-web/pom.xml +++ b/flink-runtime-web/pom.xml @@ -285,12 +285,12 @@ under the License. - npm run build + npm run ci-check npm - run build + run ci-check diff --git a/flink-runtime-web/web-dashboard/package.json b/flink-runtime-web/web-dashboard/package.json index f5aeabc9afb4b..3cb7727b23c21 100644 --- a/flink-runtime-web/web-dashboard/package.json +++ b/flink-runtime-web/web-dashboard/package.json @@ -8,6 +8,7 @@ "test": "ng test", "lint": "eslint --cache src --ext .ts,.html && stylelint \"**/*.less\"", "lint:fix": "eslint --fix --cache src --ext .ts,.html && stylelint \"**/*.less\" --fix", + "ci-check": "npm run lint && npm run build", "proxy": "ng serve --proxy-config proxy.conf.json" }, "private": true,