File tree Expand file tree Collapse file tree 4 files changed +22
-10
lines changed
Expand file tree Collapse file tree 4 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 2424
2525 - uses : actions/setup-node@v6
2626 with :
27- node-version : " 20"
27+ node-version : " 22"
28+ cache : npm
2829
2930 - run : npm ci
3031
@@ -71,12 +72,17 @@ jobs:
7172
7273 - uses : actions/setup-node@v6
7374 with :
74- node-version : " 20"
75+ node-version : " 22"
76+ cache : npm
7577
76- - run : npm install
78+ - run : npm ci
7779
7880 - run : npm run build
7981
82+ - name : Validate TypeDoc links
83+ if : runner.os == 'Linux' && matrix.name == 'Linux x64'
84+ run : npm exec typedoc -- --treatValidationWarningsAsErrors --emit none
85+
8086 - run : npm run examples:build
8187
8288 - name : Verify generated schemas are up-to-date
@@ -111,7 +117,8 @@ jobs:
111117
112118 - uses : actions/setup-node@v6
113119 with :
114- node-version : " 20"
120+ node-version : " 22"
121+ cache : npm
115122
116123 - uses : astral-sh/setup-uv@v7
117124
@@ -147,13 +154,13 @@ jobs:
147154 shell : wsl-bash {0}
148155 run : |
149156 sudo apt-get update
150- curl -fsSL https://deb.nodesource.com/setup_20 .x | sudo -E bash -
157+ curl -fsSL https://deb.nodesource.com/setup_22 .x | sudo -E bash -
151158 sudo apt-get install -y nodejs
152159
153160 - name : Build and test in WSL
154161 shell : wsl-bash {0}
155162 run : |
156- npm install
163+ npm ci
157164 npm run build
158165 npm run examples:build
159166 npm test
@@ -182,7 +189,7 @@ jobs:
182189 steps :
183190 - uses : actions/setup-node@v6
184191 with :
185- node-version : " 20 "
192+ node-version : " 22 "
186193
187194 - name : Create test project and install from git
188195 shell : bash
Original file line number Diff line number Diff line change 1616 - uses : oven-sh/setup-bun@v2
1717 - uses : actions/setup-node@v6
1818 with :
19- node-version : " 20"
20- - run : npm install
19+ node-version : " 22"
20+ cache : npm
21+ - run : npm ci
2122 - run : npm run build
2223 - run : npm run docs
2324 - uses : peaceiris/actions-gh-pages@v4
Original file line number Diff line number Diff line change 5959
6060 - uses : actions/setup-node@v6
6161 with :
62- node-version : " 20"
62+ node-version : " 22"
63+ cache : npm
6364
6465 - uses : astral-sh/setup-uv@v7
6566
Original file line number Diff line number Diff line change 99 "license" : " MIT" ,
1010 "description" : " MCP Apps SDK — Enable MCP servers to display interactive user interfaces in conversational clients." ,
1111 "type" : " module" ,
12+ "engines" : {
13+ "node" : " >=20"
14+ },
1215 "main" : " ./dist/src/app.js" ,
1316 "exports" : {
1417 "." : {
You can’t perform that action at this time.
0 commit comments