pikax 5 лет назад
Родитель
Сommit
54ee448abf
2 измененных файлов с 7 добавлено и 6 удалено
  1. 6 6
      .circleci/config.yml
  2. 1 0
      package.json

+ 6 - 6
.circleci/config.yml

@@ -25,13 +25,13 @@ jobs:
           paths:
             - vue
 
-  lint-flow-types:
+  lint-ts-types:
     <<: *defaults
     steps:
       - attach_workspace:
           at: ~/project
       - run: npm run lint
-      - run: npm run flow
+      - run: npm run ts-check
       - run: npm run test:types
 
   test-cover:
@@ -80,7 +80,7 @@ workflows:
       - test-cover:
           requires:
             - install
-      - lint-flow-types:
+      - lint-ts-types:
           requires:
             - install
       - test-e2e:
@@ -97,7 +97,7 @@ workflows:
                 - regression-test
           requires:
             - test-cover
-            - lint-flow-types
+            - lint-ts-types
             - test-e2e
             - test-ssr-weex
   weekly_regression_test:
@@ -114,7 +114,7 @@ workflows:
       - test-cover:
           requires:
             - install
-      - lint-flow-types:
+      - lint-ts-types:
           requires:
             - install
       - test-e2e:
@@ -126,6 +126,6 @@ workflows:
       - trigger-regression-test:
           requires:
             - test-cover
-            - lint-flow-types
+            - lint-ts-types
             - test-e2e
             - test-ssr-weex

+ 1 - 0
package.json

@@ -36,6 +36,7 @@
     "test:types": "tsc -p ./types/test/tsconfig.json",
     "lint": "eslint src scripts test",
     "flow": "flow check",
+    "ts-check": "tsc --noEmit",
     "sauce": "karma start test/unit/karma.sauce.config.js",
     "bench:ssr": "npm run build:ssr && node benchmarks/ssr/renderToString.js && node benchmarks/ssr/renderToStream.js",
     "release": "bash scripts/release.sh",