ops: ci actions fix for clippy, redoc, and yarn build #6
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: | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Installing Vaccum | |
run: curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh | |
- 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 |