Add the `--build` flag for the nested `tsconfig.json`
authorAlexander Ebert <ebert@woltlab.com>
Mon, 8 Aug 2022 16:22:37 +0000 (18:22 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 12 Aug 2022 19:25:55 +0000 (21:25 +0200)
.github/workflows/typescript.yml

index 71833b68c1a439ad9d1abd3b17e70d31a70ba103..2f4bff98d2f1d6f40b1fa816ab1307699e9575b2 100644 (file)
@@ -22,7 +22,7 @@ jobs:
         node-version: "16"
         cache: "npm"
     - run: npm install
-    - run: npx tsc --noEmit
+    - run: npx tsc --build --noEmit
     - name: Check that tslib is in sync.
       run: diff -wu wcfsetup/install/files/js/3rdParty/tslib.js node_modules/tslib/tslib.js
   eslint:
@@ -54,7 +54,7 @@ jobs:
         cache: "npm"
     - run: npm install
     - run: rm -r wcfsetup/install/files/js/WoltLabSuite/
-    - run: npx tsc
+    - run: npx tsc --build
     - run: echo "::add-matcher::.github/diff.json"
     - name: Show diff
       run: |