From 9f862c6f6e46ef63841d2754eec3130415975de6 Mon Sep 17 00:00:00 2001 From: Cosimo Matteini Date: Fri, 6 Dec 2024 15:34:40 +0100 Subject: [PATCH] ci: sync and use script check-source-state --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",