ソースを参照

[frontend] Add style lint to CI setup

Johan Åhlén 4 年 前
コミット
23d522c35a
2 ファイル変更13 行追加0 行削除
  1. 7 0
      .circleci/config.yml
  2. 6 0
      .github/workflows/commitflow.yml

+ 7 - 0
.circleci/config.yml

@@ -135,6 +135,13 @@ jobs:
 
             npm run lint
 
+      - run:
+          name: run style lint
+          command: |
+            cd /usr/share/hue
+
+            npm run style-lint
+
       - run:
           name: run npm license checker
           command: |

+ 6 - 0
.github/workflows/commitflow.yml

@@ -120,6 +120,12 @@ jobs:
 
         npm run check-license
 
+    - name: run style lint
+      run: |
+        cd /usr/share/hue
+
+        npm run style-lint
+
     - name: run npm absolute path detection
       run: |
         cd /usr/share/hue