From ab6bc857f5e730c1ba3b378c0c3fa892b944fa17 Mon Sep 17 00:00:00 2001 From: Daniel Power Date: Mon, 30 Sep 2024 16:52:17 -0230 Subject: [PATCH] Add Typescript check --- .github/workflows/typescript.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/typescript.yml diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml new file mode 100644 index 00000000..cc025355 --- /dev/null +++ b/.github/workflows/typescript.yml @@ -0,0 +1,22 @@ +name: TypeScript Compile Check +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: "20" + - name: Install dependencies + run: npm install + - name: Run TypeScript compiler + run: npm exec tsc -- --noEmit