diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e29e5a..f27f60a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: pnpm codegen - name: Check source state - run: git add packages/*/src && git diff-index --cached HEAD --exit-code packages/*/src + run: pnpm check-source-state - name: Types run: | diff --git a/package.json b/package.json index 7f53852..680b4ae 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "dtslint-clean": "dtslint --clean", "changeset-version": "changeset version && node scripts/version.mjs", "changeset-publish": "pnpm lint-fix && pnpm build && TEST_DIST= pnpm vitest && changeset publish", - "check-source-state": "git add src && git diff-index --cached HEAD --exit-code src" + "check-source-state": "git add packages/*/src && git diff-index --cached HEAD --exit-code packages/*/src" }, "resolutions": { "dependency-tree": "^10.0.9",