fix(cli): try to resolve `Cannot read properties of undefined (readin… #466
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: changelog | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
cli: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo at current ref | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Validate changelog | |
run: | | |
pnpm seed:local validate cli --log-level debug | |
generator-validate: | |
strategy: | |
matrix: | |
generator: [fastapi, pydantic, python-sdk, go-sdk, ruby-sdk, postman, openapi, java-sdk, java-model, java-spring] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo at current ref | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Validate changelog | |
run: | | |
pnpm seed:local validate generator ${{ matrix.generator }} --log-level debug |