add some schemas #6
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
on: [push, pull_request] | |
name: CI | |
jobs: | |
format-check: | |
runs-on: ubuntu-latest | |
name: Format check | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install Dependencies | |
run: bun install | |
- name: Run Prettier format check | |
run: bun run format:check | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint OpenAPI specification | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install Dependencies | |
run: bun install | |
- name: Run Spectral linting | |
run: bun run lint |