add Library Source Material - CDE 14808227 #281
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: Specification | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'swagger.yml' | |
pull_request: | |
paths: | |
- 'swagger.yml' | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 'latest' | |
- name: Install spectral | |
run: npm install -g @stoplight/spectral-cli | |
- run: spectral lint swagger.yml |