From c05707f895e13f897b5060ef181f128523fa5018 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 24 Oct 2022 17:24:02 +0800 Subject: [PATCH] chore: add type checked script. --- .github/workflows/ci.yml | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddf2edf6..821fdd6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,7 @@ jobs: node-version: 16 - run: npm install + - run: npm run checked - run: npm run coverage - run: npm run example - run: npm run example:templates diff --git a/package.json b/package.json index e9f20b06..04a1fbc9 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "example": "node test/example/index.js", "example:templates": "node test/templates/index.js", "pretest": "npm run example && npm run example:templates", + "checked":"tsc --noEmit", "test": "tsbb test", "coverage": "tsbb test --coverage" },