We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 745406e commit a75de5fCopy full SHA for a75de5f
.github/workflows/cron.yaml
@@ -40,6 +40,13 @@ jobs:
40
- name: Build JSON files
41
run: bin/console build
42
43
+ - name: Check sizes of JSON files
44
+ run: |
45
+ # The largest file should be smaller thant 30000 bytes
46
+ test $(du -ab docs/api/v1 | sort -nr | head -2 | tail -1 | awk '{print $1}') -lt 30000
47
+ # The smallest file should be larger than 300 bytes
48
+ test $(du -ab docs/api/v1 | sort -n | head -1 | awk '{print $1}') -gt 300
49
+
50
- name: Check diff
51
id: diff
52
run: |
0 commit comments