Skip to content

Commit 211d9cb

Browse files
committed
chore: fixing the generated client issue
1 parent 87d79fd commit 211d9cb

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ jobs:
5252
docs/
5353
retention-days: 30
5454

55+
- name: Upload bundled spec
56+
uses: actions/upload-artifact@v4
57+
with:
58+
name: bundled-spec
59+
path: dist/cocoaflow-api.yaml
60+
retention-days: 30
61+
5562
test:
5663
name: Test Generated Clients
5764
runs-on: ubuntu-latest
@@ -70,6 +77,12 @@ jobs:
7077
- name: Install dependencies
7178
run: npm ci
7279

80+
- name: Download bundled specification
81+
uses: actions/download-artifact@v4
82+
with:
83+
name: bundled-spec
84+
path: dist/
85+
7386
- name: Generate TypeScript client
7487
run: npm run generate:client
7588

@@ -125,6 +138,12 @@ jobs:
125138
- name: Build documentation
126139
run: npm run docs:build
127140

141+
- name: Download bundled specification
142+
uses: actions/download-artifact@v4
143+
with:
144+
name: bundled-spec
145+
path: dist/
146+
128147
- name: Deploy to Vercel
129148
uses: amondnet/vercel-action@v25
130149
with:

0 commit comments

Comments
 (0)