Commit b69d2f7
authored
ci: ensure JSON schemas are in sync (#539)
follow-up to #538
We need to ensure that for schemas that have `.ts` file used to generate
`.json` file:
- users modify the `.ts` file not the `.json` file.
- users run `npm run build` to generate the `.json` file and commits
this generated file.
- that means -> `.ts` and `.json` files are always in sync
This adds CI workflow that runs whenever this `.ts` or `.json` file
changed, runs the build and check if `.json` file changes or not.1 parent 5c3e4e4 commit b69d2f7
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
58 | 65 | | |
59 | 66 | | |
60 | 67 | | |
| |||
0 commit comments