Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ name: Validate APIs

on:
pull_request:
paths:
- 'specification/**'
- '!specification/_types/**'
- '!specification/_spec_utils/**'
- '!specification/_doc_ids/**'
- '!specification/_json_spec/**'

branches:
- main

Expand Down Expand Up @@ -51,6 +44,11 @@ jobs:
npm install --prefix .github/validate-pr
make setup

- name: Generate specification and check generated types
working-directory: ./elasticsearch-specification
run: |
make generate

- name: Download artifacts
working-directory: ./clients-flight-recorder
run: |
Expand Down
2 changes: 1 addition & 1 deletion typescript-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"kibana": "KIBANA=true ts-node src/client.ts",
"lint": "ts-standard src",
"lint:fix": "ts-standard --fix src",
"is-valid-output": "tsc --noEmit",
"is-valid-output": "tsc --noEmit ../output/typescript/types.ts",
"test": "npm run lint",
"build": "rm -rf lib && tsc"
},
Expand Down