diff --git a/flink-runtime-web/pom.xml b/flink-runtime-web/pom.xml index a9e1af545914f2..e9f64966637944 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 9e2bde274e2e51..c7505f251b29bb 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,