Ver Fonte

Build TypeScript tests before testing

Danilo Bargen há 7 anos atrás
pai
commit
1fea182054
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 1 0
      .circleci/config.yml
  2. 1 1
      README.md

+ 1 - 0
.circleci/config.yml

@@ -8,6 +8,7 @@ references:
           - v1-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ arch }}-{{ checksum "package.json" }}
     - run: npm install
     - run: npm run build
+    - run: npm run build:tests
     - run: npm test
     - save_cache:
         key: v1-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ arch }}-{{ checksum "package.json" }}

+ 1 - 1
README.md

@@ -50,7 +50,7 @@ Web on a server, please follow the instructions at
 
 To run tests:
 
-    npm run build
+    npm run build && npm run build:tests
     chromium tests/testsuite.html
 
 To run linting checks: