Merge pull request #376 from EpokTarren/api_returns_best #462
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 OpenAPI specification | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint: | |
name: Lint OpenAPI spec | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: doc | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: npm ci | |
- run: npm run spectral | |
- run: npm run lint |