diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b4653b..cef7437 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,8 @@ jobs: run: | yarn install --frozen-lockfile yarn lint + - name: Run typecheck + run: yarn typecheck test: needs: diff --git a/package.json b/package.json index 6b8c761..f9c7bb4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "prettier": "prettier --write --log-level warn .", "prettier:check": "prettier --check --log-level warn .", "test": "yarn workspace @ambiki/impulse test", - "test:watch": "yarn workspace @ambiki/impulse test:watch" + "test:watch": "yarn workspace @ambiki/impulse test:watch", + "typecheck": "yarn workspace @ambiki/impulse typecheck" }, "devDependencies": { "@rollup/plugin-typescript": "^11.1.2", diff --git a/packages/core/package.json b/packages/core/package.json index 9cf13de..3785e1e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -43,7 +43,8 @@ "clean": "rm -fr dist", "prepublishOnly": "yarn clean && yarn build", "test": "web-test-runner", - "test:watch": "web-test-runner --watch" + "test:watch": "web-test-runner --watch", + "typecheck": "tsc --noEmit" }, "devDependencies": { "@open-wc/testing": "^3.2.0",