Skip to content

Commit 115ee83

Browse files
committed
chore: add ci workflow to run asyncapi generator
1 parent e4d45b6 commit 115ee83

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
@@ -523,6 +523,34 @@ jobs:
523523
env:
524524
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
525525

526+
asyncapi-generation:
527+
name: AsyncAPI Generation
528+
runs-on: ubuntu-latest
529+
continue-on-error: true
530+
timeout-minutes: 15
531+
steps:
532+
- uses: actions/checkout@v4
533+
with:
534+
persist-credentials: false
535+
- name: Use Node.js
536+
uses: actions/setup-node@v4
537+
with:
538+
node-version-file: ".node-version"
539+
- name: Prepare Environment
540+
run: |
541+
cd packages
542+
yarn
543+
env:
544+
CI: true
545+
- name: Run generator
546+
run: |
547+
cd packages/live-status-gateway
548+
549+
yarn gendocs
550+
yarn genserver
551+
env:
552+
CI: true
553+
526554
publish-docs:
527555
name: Publish Docs
528556
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)