[COTA] Feature only http #709
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate JSON Schema | |
on: | |
pull_request: | |
jobs: | |
validate: | |
name: Compare generated against provided | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: Build | |
run: | | |
cd generate | |
npm ci | |
npm run compile | |
- name: Check Schemas | |
run: | | |
cd generate | |
npm run generate | |
- name: Upload generated schemas | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: schemas | |
path: | | |
generate/generated/*.json | |