Added issues template #551
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: validate specification | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
- stable | |
jobs: | |
validate-specification: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14 | |
registry-url: https://registry.npmjs.org/ | |
- name: Install redoc | |
run: | | |
npm install -g redoc-cli | |
redoc-cli bundle index.yml | |
- name: Revert changes | |
if: ${{ false }} | |
run: | | |
npm install -g @openapitools/openapi-generator-cli | |
openapi-generator-cli validate -i index.yml |