From 466aec0ffbc215a13e47ef4cf2c8585f04151e0f Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sun, 10 Dec 2023 17:36:50 -0500 Subject: [PATCH] error on uncommitted types (#11254) Co-authored-by: Rich Harris --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ece0e78523af..7cd2ca41db19 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: cache: pnpm - run: pnpm install --frozen-lockfile - run: pnpm run lint - - run: cd packages/kit && pnpm prepublishOnly && { [ "`git status --porcelain=v1`" == "" ] || echo "Generated types have changed — please run prepublishOnly locally and commit the changes after you have reviewed them"; } + - run: cd packages/kit && pnpm prepublishOnly && { [ "`git status --porcelain=v1`" == "" ] || (echo "Generated types have changed — please run prepublishOnly locally and commit the changes after you have reviewed them" && exit 1); } - run: pnpm run check Tests: runs-on: ${{ matrix.os }}