Skip to content

Commit c188cf7

Browse files
Merge branch 'master' into bug-1638
2 parents 2fca9d2 + 5e2c5f8 commit c188cf7

File tree

35 files changed

+4290
-1854
lines changed

35 files changed

+4290
-1854
lines changed

.github/workflows/docs.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Docgen
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
docs:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: "20"
16+
- name: Cache npm
17+
uses: actions/cache@v4
18+
with:
19+
path: ~/.npm
20+
key: ${{ runner.os }}-docgen-${{ hashFiles('**/package-lock.json') }}
21+
- name: Install dependencies
22+
run: npm ci
23+
- name: Generate Reference Docs
24+
run: |
25+
npm run docgen:v1
26+
npm run docgen:v2
27+
- uses: actions/upload-artifact@v4
28+
name: Upload Docs Preview
29+
with:
30+
name: reference-docs
31+
path: |
32+
./docgen/v1/markdown/
33+
./docgen/v2/markdown/

.github/workflows/test.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ jobs:
3232
node-version:
3333
- 18.x
3434
- 20.x
35+
- 22.x
3536
steps:
3637
- uses: actions/checkout@v1
3738
- uses: actions/setup-node@v1
3839
with:
3940
node-version: ${{ matrix.node-version }}
4041
- name: Cache npm
41-
uses: actions/cache@v1
42+
uses: actions/cache@v4
4243
with:
4344
path: ~/.npm
4445
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
@@ -52,13 +53,14 @@ jobs:
5253
node-version:
5354
- 18.x
5455
- 20.x
56+
- 22.x
5557
steps:
5658
- uses: actions/checkout@v1
5759
- uses: actions/setup-node@v1
5860
with:
5961
node-version: ${{ matrix.node-version }}
6062
- name: Cache npm
61-
uses: actions/cache@v1
63+
uses: actions/cache@v4
6264
with:
6365
path: ~/.npm
6466
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
- Fix bug where wrapInit wasn't called on v2 callable functions. (#1634)
2-
- Add support for callable function to return streaming response (#1629)

0 commit comments

Comments
 (0)