feat: support container deployment to App Service #558
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
| name: schema-ci | |
| on: | |
| pull_request: | |
| paths: | |
| - "schemas/**" | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| schema-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| - run: npm install -g jsonlint | |
| - name: Validate schemas JSON | |
| run: jsonlint schemas/**/*.json -c | |
| # NOTE: Using jsonschema2md here to ensure the schemas are valid for documentation generation. | |
| # Since we use jsonschema2md for CI pipelines, any changes to the schemas should make sure to keep the tool happy. | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.x' | |
| - run: pip install jsonschema2md==1.5.2 | |
| - name: Ensure v1 schema is valid for doc gen | |
| run: | | |
| jsonschema2md schemas/v1.0/azure.yaml.json ignoreV1.md | |
| - name: Ensure alpha schema is valid for doc gen | |
| run: | | |
| jsonschema2md schemas/alpha/azure.yaml.json ignoreAlpha.md |