Doc 2175 api eg add the option to switch the vm to od before deleting… #3792
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 | |
on: [push, pull_request] | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
registry-url: https://registry.npmjs.org | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Install and Validate | |
run: | | |
yarn install | |
yarn validate | |
yarn bundle:redoc | |
yarn bundle:swagger | |
- name: redoc-lint | |
uses: mhiew/redoc-lint-github-action@v3 | |
with: | |
args: 'api/spot.yaml' |