Delete old JS dir, before recompile TS
authorjoshuaruesweg <ruesweg@woltlab.com>
Wed, 16 Mar 2022 08:24:48 +0000 (09:24 +0100)
committerjoshuaruesweg <ruesweg@woltlab.com>
Wed, 16 Mar 2022 08:24:48 +0000 (09:24 +0100)
This ensures, that there are no superfluous files commited in the JS dir.

.github/workflows/typescript.yml

index f78ae8e27e86ba11b70ae7e218597d65dcc5b9d2..6b48241cc16fbd26d0349c88e989ac988f0c2d19 100644 (file)
@@ -49,6 +49,7 @@ jobs:
         node-version: "16"
     - uses: actions/checkout@v3
     - run: npm install
+    - run: rm -r wcfsetup/install/files/js/WoltLabSuite/
     - run: npx tsc
     - run: echo "::add-matcher::.github/diff.json"
     - name: Show diff