From 101532eb8d387c99f4b22b0142d10dfc3a740743 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 8 Aug 2022 18:22:37 +0200 Subject: [PATCH] Add the `--build` flag for the nested `tsconfig.json` --- .github/workflows/typescript.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index 71833b68c1..2f4bff98d2 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -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: | -- 2.20.1