From: Tim Düsterhus Date: Fri, 30 Oct 2020 11:35:30 +0000 (+0100) Subject: Add tslint to typescript workflow X-Git-Tag: 5.4.0_Alpha_1~666^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4658a0a8aa1a7fdd7dc6f8ddb3c85674a1c9f3b4;p=GitHub%2FWoltLab%2FWCF.git Add tslint to typescript workflow --- diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index 7de058bd64..77b0783c68 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -23,6 +23,19 @@ jobs: - run: npx tsc --noEmit - name: Check that tslib is in sync. run: diff -wu wcfsetup/install/files/js/3rdParty/tslib.js node_modules/tslib/tslib.js + tslint: + name: "tslint" + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - name: Set up node.js + uses: actions/setup-node@v1 + with: + node-version: "12" + - uses: actions/checkout@v2 + - run: npm install + - run: npx tslint . javascript_sync: name: "Check for outdated JavaScript" needs: tsc