From c38bac2e3e7a22749897323807e9f63bae4a7223 Mon Sep 17 00:00:00 2001 From: saileshwar-skyflow Date: Wed, 6 May 2026 11:27:34 +0530 Subject: [PATCH] SK-2778: add interface diff step --- .github/workflows/contract-tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/contract-tests.yml b/.github/workflows/contract-tests.yml index 195d400..69e30f8 100644 --- a/.github/workflows/contract-tests.yml +++ b/.github/workflows/contract-tests.yml @@ -27,6 +27,15 @@ jobs: - name: Verify API surface snapshot run: npm run contract-snapshot-verify + - name: Show API surface diff + if: failure() + run: | + echo "### API surface changes detected ###" + echo "Lines prefixed with '-' were REMOVED from the public API." + echo "Lines prefixed with '+' were ADDED to the public API." + echo "" + diff -u api-report/skyflow-node.api.md temp/skyflow-node.api.md || true + - name: Upload API surface diff on failure if: failure() uses: actions/upload-artifact@v4