瀏覽代碼

HUE-8846 [ci] Adding linting in for js

Romain 6 年之前
父節點
當前提交
4e73a5ceec
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      .circleci/config.yml

+ 8 - 1
.circleci/config.yml

@@ -50,7 +50,7 @@ jobs:
             cp -r docs /usr/share/hue/docs
             make npm-install
 
-      # Run tests!
+      # Run tests
       - run:
           name: run python API tests
           command: |
@@ -63,6 +63,13 @@ jobs:
             cd /usr/share/hue
             run npm test
 
+      # Code analyses
+      - run:
+          name: run js tests
+          command: |
+            cd /usr/share/hue
+            npm run lint-fix
+
       - store_artifacts:
           path: test-reports
           destination: test-reports