onasty/.github/workflows/open_api.yml (view raw)
dependabot[bot]
dependabot[bot]
49699333+dependabot[bot]@users.noreply.github.com chore(deps): bump marocchino/tool-versions-action from 1 to 2..., 2 months ago
49699333+dependabot[bot]@users.noreply.github.com chore(deps): bump marocchino/tool-versions-action from 1 to 2..., 2 months ago
| 1 | name: openapi |
| 2 | |
| 3 | on: |
| 4 | workflow_dispatch: |
| 5 | push: |
| 6 | branches: [main] |
| 7 | paths: ["api/**"] |
| 8 | pull_request: |
| 9 | paths: ["api/**"] |
| 10 | |
| 11 | |
| 12 | jobs: |
| 13 | release: |
| 14 | runs-on: ubuntu-latest |
| 15 | defaults: |
| 16 | run: |
| 17 | working-directory: web |
| 18 | steps: |
| 19 | - uses: actions/checkout@v6 |
| 20 | - name: Read .tool-versions |
| 21 | uses: marocchino/tool-versions-action@v2 |
| 22 | id: versions |
| 23 | |
| 24 | - uses: oven-sh/setup-bun@v2 |
| 25 | with: |
| 26 | bun-version: ${{ steps.versions.outputs.bun }} |
| 27 | |
| 28 | - name: Install deps |
| 29 | run: bun install --frozen-lockfile |
| 30 | |
| 31 | - name: Lint |
| 32 | run: bunx redocly lint --config redocly.yml openapi.yml |