ops: ci actions fix for clippy, redoc, and yarn build #11
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 spec | |
on: | |
pull_request: | |
paths: | |
- 'server/**' | |
push: | |
paths: | |
- 'server/**' | |
jobs: | |
redoc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Installing Vaccum | |
run: npm install -g @quobix/vacuum | |
- name: Generating OpenAPI spec | |
run: cargo run --features runtime-env --manifest-path server/Cargo.toml --bin redoc_ci > openapi.json | |
- name: Vaccum lint | |
run: vacuum lint openapi.json |