Yuki Takei 7 лет назад
Родитель
Сommit
cc1261fed9
1 измененных файлов с 5 добавлено и 54 удалено
  1. 5 54
      wercker.yml

+ 5 - 54
wercker.yml

@@ -22,6 +22,11 @@ test:
         echo -n "npm " && npm -v
         yarn list --depth=0
 
+    - script:
+      name: npm run lint
+      code: |
+        npm run lint
+
     - script:
       name: npm test
       code: |
@@ -36,36 +41,6 @@ test:
       username: wercker
       notify_on: "failed"
 
-lint:
-  steps:
-    - script:
-      name: set yarn cache-folder
-      code: yarn config set cache-folder $WERCKER_CACHE_DIR/yarn
-
-    - script:
-      name: install dependencies
-      code: |
-        yarn
-
-    - script:
-      name: print dependencies
-      code: |
-        echo -n "node " && node -v
-        echo -n "npm " && npm -v
-        yarn list --depth=0
-
-    - script:
-      name: npm run lint
-      code: |
-        npm run lint
-
-  after-steps:
-    - slack-notifier:
-      url: $SLACK_WEBHOOK_URL
-      channel: ci
-      username: wercker
-      notify_on: "failed"
-
 
 build-prod:
   steps:
@@ -73,23 +48,11 @@ build-prod:
       name: set yarn cache-folder
       code: yarn config set cache-folder $WERCKER_CACHE_DIR/yarn
 
-    - script:
-      name: install dependencies
-      code: |
-        yarn
-
     - script:
       name: install plugins
       code: |
         yarn add growi-plugin-lsx growi-plugin-pukiwiki-like-linker
 
-    - script:
-      name: print dependencies
-      code: |
-        echo -n "node " && node -v
-        echo -n "npm " && npm -v
-        yarn list --depth=0
-
     - script:
       name: npm run build:prod:analyze
       code: |
@@ -121,23 +84,11 @@ build-dev:
       name: set yarn cache-folder
       code: yarn config set cache-folder $WERCKER_CACHE_DIR/yarn
 
-    - script:
-      name: install dependencies
-      code: |
-        yarn
-
     - script:
       name: install plugins
       code: |
         yarn add growi-plugin-lsx growi-plugin-pukiwiki-like-linker
 
-    - script:
-      name: print dependencies
-      code: |
-        echo -n "node " && node -v
-        echo -n "npm " && npm -v
-        yarn list --depth=0
-
     - script:
       name: npm run build:dev
       code: |