From 4658a0a8aa1a7fdd7dc6f8ddb3c85674a1c9f3b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 30 Oct 2020 12:35:30 +0100 Subject: [PATCH] Add tslint to typescript workflow --- .github/workflows/typescript.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.20.1