Skip to content

Commit efcf553

Browse files
committed
Generate specification in validate workflow
1 parent 3859857 commit efcf553

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/validate-pr.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ name: Validate APIs
22

33
on:
44
pull_request:
5-
paths:
6-
- 'specification/**'
7-
- '!specification/_types/**'
8-
- '!specification/_spec_utils/**'
9-
- '!specification/_doc_ids/**'
10-
- '!specification/_json_spec/**'
11-
125
branches:
136
- main
147

@@ -51,6 +44,11 @@ jobs:
5144
npm install --prefix .github/validate-pr
5245
make setup
5346
47+
- name: Generate specification and check generated types
48+
working-directory: ./elasticsearch-specification
49+
run: |
50+
make generate
51+
5452
- name: Download artifacts
5553
working-directory: ./clients-flight-recorder
5654
run: |

0 commit comments

Comments
 (0)