Skip to content

Commit 87573f0

Browse files
committed
chore: add ci workflow to run openapi generator
1 parent 115ee83 commit 87573f0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/node.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,34 @@ jobs:
550550
yarn genserver
551551
env:
552552
CI: true
553+
openapi-generation:
554+
name: OpenAPI Generation
555+
runs-on: ubuntu-latest
556+
continue-on-error: true
557+
timeout-minutes: 15
558+
steps:
559+
- uses: actions/checkout@v4
560+
with:
561+
persist-credentials: false
562+
- name: Use Node.js
563+
uses: actions/setup-node@v4
564+
with:
565+
node-version-file: ".node-version"
566+
- name: Prepare Environment
567+
run: |
568+
cd packages
569+
yarn
570+
env:
571+
CI: true
572+
- name: Run generator
573+
run: |
574+
cd packages/openapi
575+
576+
yarn gendocs
577+
yarn genserver
578+
yarn genclient:ts
579+
env:
580+
CI: true
553581

554582
publish-docs:
555583
name: Publish Docs

0 commit comments

Comments
 (0)