Skip to content

hotfix(build) upgrade node-version #886

hotfix(build) upgrade node-version

hotfix(build) upgrade node-version #886

name: Validate OpenAPI on PR
on:
- pull_request
jobs:
mergespec:
name: Validate spec file
runs-on: ubuntu-22.04
defaults:
run:
working-directory: .
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- run: make install-swag
- uses: actions/setup-node@v4
with:
node-version: '20.17.0'
- run: npm install --location=global @openapitools/openapi-generator-cli
- run: make spec
- run: make validate-spec