Skip to content

Merge pull request #236 from maykinmedia/feature/dynamic-pagination #29

Merge pull request #236 from maykinmedia/feature/dynamic-pagination

Merge pull request #236 from maykinmedia/feature/dynamic-pagination #29

Workflow file for this run

name: lint-oas
on:
push:
paths:
- "src/openklant/components/*/openapi.yaml"
- .github/workflows/lint-oas.yml
branches:
- '**'
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
component: ['contactgegevens', 'klantinteracties']
name: Run with component ${{ matrix.component }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install spectral
run: npm install -g @stoplight/spectral@5
- name: Run OAS linter
run: spectral lint ./src/openklant/components/${{ matrix.component }}/openapi.yaml