Add scripts for checking that graphql-codegen results in no changes

This commit is contained in:
2024-02-20 19:17:43 -07:00
parent ce8cfd6a68
commit 9a2cae0c70
2 changed files with 16 additions and 0 deletions

10
bin/assert-no-changes.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
git ls-files | xargs md5sum > before.txt
yarn install
yarn graphql-codegen
git ls-files | xargs md5sum > after.txt
diff before.txt after.txt