add initial electra spec #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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: actions/setup-node@v2 | |
- run: npm i -g @apidevtools/swagger-cli@4 @redocly/cli@1.0.0-beta.111 | |
- name: Lint spec | |
run: redocly lint ./builder-oapi.yaml | |
- name: Bundle spec | |
run: "swagger-cli bundle ./builder-oapi.yaml -r -t yaml -o ./deploy/builder-oapi.yaml" |