Merge pull request #387 from lichess-org/dependabot/npm_and_yarn/exam… #485
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 |