Merge branch 'Opschonen-repository' of https://github.com/VNG-Realisa… #83
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
name: lint-oas | |
on: | |
push: | |
paths: | |
- specificatie/*.yaml | |
- .github/workflows/lint-oas.yml | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: npm ci | |
- name: lint OAS | |
run: npm run oas:lint | |
- name: resolve OAS | |
run: npm run oas:resolve | |
- name: lint resolved OAS | |
run: npm run oas:lint-genereervariant | |
# Het pushen van de genereervariant is in deze workflow t.o.v. die in de andere repo's verwijderd. | |
# De verantwoordelijkheid voor het opleveren van de genereervariant ligt hier nl. bij het Kadaster. |