From 55b8dd1eba3b4fae27f95242c8ca30086f651d2a Mon Sep 17 00:00:00 2001 From: jasonblanchard Date: Mon, 14 Apr 2025 20:42:47 -0400 Subject: [PATCH 1/3] Update example codegen when version changes --- .github/workflows/version.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index 575cbfc..1fd7f2d 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -63,6 +63,9 @@ jobs: npm install --save-exact --workspace petstore-example openapi-typescript-server@${{ env.PACKAGE_VERSION }} openapi-typescript-server-express@${{ env.PACKAGE_VERSION }} npm install --save-exact --workspace petstore-example openapi-typescript-server@${{ env.PACKAGE_VERSION }} openapi-typescript-server-express@${{ env.PACKAGE_VERSION }} + - name: Codegen examples with latest version + run: npm run gen:examples + - name: Configure Git run: | git config --global user.name "github-actions[bot]" From c76face8e38da331850cbf08d6301ef72f6826a1 Mon Sep 17 00:00:00 2001 From: jasonblanchard Date: Mon, 14 Apr 2025 20:44:37 -0400 Subject: [PATCH 2/3] formatting --- .github/workflows/version.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index 1fd7f2d..409f77b 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -65,7 +65,7 @@ jobs: - name: Codegen examples with latest version run: npm run gen:examples - + - name: Configure Git run: | git config --global user.name "github-actions[bot]" From 00e99c9641e1f7a52ba23a7a1f4c326c9c31e6da Mon Sep 17 00:00:00 2001 From: jasonblanchard Date: Mon, 14 Apr 2025 20:49:38 -0400 Subject: [PATCH 3/3] build --- .github/workflows/version.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index 409f77b..23b1be5 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -63,6 +63,9 @@ jobs: npm install --save-exact --workspace petstore-example openapi-typescript-server@${{ env.PACKAGE_VERSION }} openapi-typescript-server-express@${{ env.PACKAGE_VERSION }} npm install --save-exact --workspace petstore-example openapi-typescript-server@${{ env.PACKAGE_VERSION }} openapi-typescript-server-express@${{ env.PACKAGE_VERSION }} + - name: Build the packages + run: npm run build:packages + - name: Codegen examples with latest version run: npm run gen:examples