fix(ci): validate-api.json
をOpenAPI Specification 3.1.0に対応
This commit is contained in:
parent
788072cdda
commit
a28531bcfa
6
.github/workflows/validate-api-json.yml
vendored
6
.github/workflows/validate-api-json.yml
vendored
|
@ -33,8 +33,8 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'pnpm'
|
||||
- name: Install swagger-cli
|
||||
run: npm i -g swagger-cli
|
||||
- name: Install Redocly CLI
|
||||
run: npm i -g @redocly/cli
|
||||
- run: corepack enable
|
||||
- run: pnpm i --frozen-lockfile
|
||||
- name: Check pnpm-lock.yaml
|
||||
|
@ -44,4 +44,4 @@ jobs:
|
|||
- name: Build and generate
|
||||
run: pnpm build && pnpm --filter backend generate-api-json
|
||||
- name: Validation
|
||||
run: swagger-cli validate ./packages/backend/built/api.json
|
||||
run: npx @redocly/cli lint --extends=minimal ./packages/backend/built/api.json
|
||||
|
|
Loading…
Reference in a new issue