Skip to content

Checkout submodules recursively in GitHub actions (#22) #46

Checkout submodules recursively in GitHub actions (#22)

Checkout submodules recursively in GitHub actions (#22) #46

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v2
- run: npm i -g @apidevtools/swagger-cli@4 @stoplight/[email protected]
- run: spectral --version
- name: Lint spec
run: spectral lint ./relay-oapi.yaml
- name: Bundle spec
run: "swagger-cli bundle ./relay-oapi.yaml -r -t yaml -o ./deploy/relay-oapi.yaml"