Skip to content

Commit

Permalink
[FLINK-23112][runtime-web] Enforce npm run lint in ci
Browse files Browse the repository at this point in the history
This closes #16902.
  • Loading branch information
子扬 authored and twalthr committed Sep 6, 2021
1 parent 3dc195a commit f0a0648
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flink-runtime-web/pom.xml
Expand Up @@ -285,12 +285,12 @@ under the License.
</configuration>
</execution>
<execution>
<id>npm run build</id>
<id>npm run ci-check</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run build</arguments>
<arguments>run ci-check</arguments>
</configuration>
</execution>
</executions>
Expand Down
1 change: 1 addition & 0 deletions flink-runtime-web/web-dashboard/package.json
Expand Up @@ -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,
Expand Down

0 comments on commit f0a0648

Please sign in to comment.