File tree Expand file tree Collapse file tree 2 files changed +22
-35
lines changed
Expand file tree Collapse file tree 2 files changed +22
-35
lines changed Original file line number Diff line number Diff line change @@ -569,13 +569,17 @@ jobs:
569569 yarn
570570 env :
571571 CI : true
572- - name : Run generator
572+ - name : Build OpenAPI client library
573+ run : |
574+ cd packages/openapi
575+ yarn build
576+ env :
577+ CI : true
578+ - name : Generate OpenAPI docs and server
573579 run : |
574580 cd packages/openapi
575-
576581 yarn gendocs
577582 yarn genserver
578- yarn genclient:ts
579583 env :
580584 CI : true
581585
@@ -682,22 +686,13 @@ jobs:
682686 yarn build
683687 env :
684688 CI : true
685- # Temporarily disabled due to failing in CI:
686- # - name: Generate OpenAPI client library
687- # if: ${{ steps.do-publish.outputs.tag }}
688- # uses: hatamiarash7/[email protected] 689- # with:
690- # generator: typescript-fetch
691- # openapi-file: ./packages/openapi/api/actions.yaml
692- # output-dir: ./packages/openapi/client/ts
693- # command-args: -p supportsES6=true
694- # - name: Build OpenAPI client library
695- # if: ${{ steps.do-publish.outputs.tag }}
696- # run: |
697- # cd packages/openapi
698- # yarn build:main
699- # env:
700- # CI: true
689+ - name : Build OpenAPI client library
690+ if : ${{ steps.do-publish.outputs.tag }}
691+ run : |
692+ cd packages/openapi
693+ yarn build
694+ env :
695+ CI : true
701696 - name : Modify dependencies to use npm packages
702697 run : node scripts/prepublish.js
703698 - name : Publish to NPM
Original file line number Diff line number Diff line change @@ -131,22 +131,14 @@ jobs:
131131 yarn build
132132 env :
133133 CI : true
134- # Temporarily disabled due to failing in CI:
135- # - name: Generate OpenAPI client library
136- # if: ${{ steps.do-publish.outputs.tag }}
137- # uses: hatamiarash7/[email protected] 138- # with:
139- # generator: typescript-fetch
140- # openapi-file: ./packages/openapi/api/actions.yaml
141- # output-dir: ./packages/openapi/client/ts
142- # command-args: -p supportsES6=true
143- # - name: Build OpenAPI client library
144- # if: ${{ steps.do-publish.outputs.tag }}
145- # run: |
146- # cd packages/openapi
147- # yarn build:main
148- # env:
149- # CI: true
134+
135+ - name : Build OpenAPI client library
136+ if : ${{ steps.do-publish.outputs.publish }}
137+ run : |
138+ cd packages/openapi
139+ yarn build
140+ env :
141+ CI : true
150142 - name : Modify dependencies to use npm packages
151143 run : node scripts/prepublish.js
152144 - name : Publish to NPM
You can’t perform that action at this time.
0 commit comments