Add check for breaking api changes (#20848)

- update ci-breaking-changes.yaml so it check for api contrat breaks
- check fails properly when removing fix
https://github.com/twentyhq/twenty/pull/20825
- check it turns green again when adding fix back
This commit is contained in:
martmull
2026-05-23 10:50:05 +02:00
committed by GitHub
parent 9876af5587
commit 056e3a4cd8
2 changed files with 91 additions and 8 deletions
@@ -23,9 +23,6 @@ export const assert: Assert = (condition, message, ErrorType) => {
}
};
export const assertNotNull = <T>(item: T): item is NonNullable<T> =>
item !== null && item !== undefined;
export const assertNever = (_value: never, message?: string): never => {
throw new Error(message ?? "Didn't expect to get here.");
};