From efb1da7ce8d89bbc261191e5a2dc1453c3837339 Mon Sep 17 00:00:00 2001 From: Sascha Bratton Date: Fri, 13 Mar 2026 21:27:27 -0400 Subject: [PATCH] feat: add dist/ freshness check to PR workflow --- .github/workflows/pull-request-verification.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pull-request-verification.yml b/.github/workflows/pull-request-verification.yml index ea1b067..45f4dcb 100644 --- a/.github/workflows/pull-request-verification.yml +++ b/.github/workflows/pull-request-verification.yml @@ -18,6 +18,13 @@ jobs: - run: | npm install npm run all + - name: Check dist is up to date + run: | + if [ -n "$(git diff --name-only dist/)" ]; then + echo "::error::dist/index.js is out of date. Run 'npm run all' and commit the result." + git diff --stat dist/ + exit 1 + fi test-inline: runs-on: ubuntu-latest