Skip to content

Commit 3b52290

Browse files
committed
Validate the files against the schema after generation.
1 parent 8498b1e commit 3b52290

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ jobs:
2929
npm ci
3030
3131
- name: Validate Schemas
32-
run: |
33-
npm exec -- npm-run-all 'validate:**'
32+
run: npm run check

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"generate": [
2222
"wp-hooks-generator --input=vendor/wordpress/wordpress --output=hooks",
2323
"./scripts/generate-changelog.sh",
24-
"./scripts/generate-issues.sh"
24+
"./scripts/generate-issues.sh",
25+
"npm run check"
2526
]
2627
},
2728
"scripts-descriptions": {

0 commit comments

Comments
 (0)