Przeglądaj źródła

Build TypeScript tests before testing

Danilo Bargen 7 lat temu
rodzic
commit
1fea182054
2 zmienionych plików z 2 dodań i 1 usunięć
  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: