File tree Expand file tree Collapse file tree 1 file changed +26
-7
lines changed
Expand file tree Collapse file tree 1 file changed +26
-7
lines changed Original file line number Diff line number Diff line change 11name : Publish Any Commit
2+
23permissions :
34 contents : read
5+
46on :
57 pull_request :
68 push :
@@ -14,14 +16,31 @@ jobs:
1416 runs-on : ubuntu-latest
1517
1618 steps :
17- - uses : actions/checkout@v4
18- - uses : actions/setup-node@v4
19+ - uses : actions/checkout@v6
20+
21+ - name : Install pnpm
22+ uses : pnpm/action-setup@v4
23+ with :
24+ run_install : false
25+
26+ - name : Setup Node.js
27+ uses : actions/setup-node@v6
1928 with :
2029 node-version : 24
21- cache : npm
30+ cache : pnpm
31+ cache-dependency-path : pnpm-lock.yaml
32+ registry-url : ' https://registry.npmjs.org'
33+
34+ - name : Install dependencies
35+ run : pnpm install
36+
37+ - name : Build packages
38+ run : pnpm run build:all
39+
40+ - name : Publish preview for @modelcontextprotocol/sdk-client
41+ working-directory : packages/client
42+ run : npx pkg-pr-new publish
2243
23- - run : npm ci
24- - name : Build
25- run : npm run build
26- - name : Publish
44+ - name : Publish preview for @modelcontextprotocol/sdk-server
45+ working-directory : packages/server
2746 run : npx pkg-pr-new publish
You can’t perform that action at this time.
0 commit comments