revert(schema): refactor(schema)!: change http method POST -> GET for… #14
This file contains hidden or 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
# | |
# Flowmotion | |
# CI/CD Pipeline | |
# Schema | |
# | |
name: Flowmotion Pipeline CI/CD | |
on: | |
push: | |
paths: | |
- .github/workflows/schema.yaml | |
- "schema/**" | |
jobs: | |
schema: | |
name: "Validate JSON Schema" | |
runs-on: ubuntu-22.04 | |
defaults: | |
run: | |
working-directory: schema | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.9.x | |
# cache npm dependencies | |
cache: npm | |
cache-dependency-path: schema/package-lock.json | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Validate json schema | |
run: npx ajv compile -s "*.schema.json" --spec=draft2020 -c ajv-formats |