diff --git a/flink-runtime-web/pom.xml b/flink-runtime-web/pom.xml index b007e34681168e..25fae653655f7d 100644 --- a/flink-runtime-web/pom.xml +++ b/flink-runtime-web/pom.xml @@ -294,12 +294,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 fbac0220f007f4..e2653bc9deaf8e 100644 --- a/flink-runtime-web/web-dashboard/package.json +++ b/flink-runtime-web/web-dashboard/package.json @@ -9,6 +9,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,