Add workflows and exchange exposition. #218
Workflow file for this run
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 Yaml Files" | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
openapi-lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
# Check out repo, set up node, and install dependencies. | |
# @see https://github.com/actions/setup-node#usage | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i | |
# Run linter | |
- run: npm run lint |