Skip to content

Commit 20e53c7

Browse files
author
DeepWiki Dev
committed
ci: run local MCP checks on Node 26
1 parent 631e249 commit 20e53c7

7 files changed

Lines changed: 52 additions & 32 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Set up Node.js
4141
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
4242
with:
43-
node-version: "24"
43+
node-version: "26"
4444
cache: pnpm
4545

4646
- name: Install dependencies

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24.18.0
1+
26.5.0

packages/mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"author": "abdush",
3636
"license": "MIT",
3737
"engines": {
38-
"node": "24.x"
38+
"node": "26.x"
3939
},
4040
"type": "module",
4141
"bin": {

packages/mcp/src/runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const SUPPORTED_NODE_MAJOR = 24;
1+
export const SUPPORTED_NODE_MAJOR = 26;
22

33
export function assertSupportedNodeRuntime(nodeVersion: string = process.versions.node): void {
44
const major = Number.parseInt(nodeVersion.split(".", 1)[0] ?? "", 10);

packages/mcp/test/runtime.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import { SUPPORTED_NODE_MAJOR, assertSupportedNodeRuntime } from "../src/runtime
33

44
describe("MCP native runtime compatibility", () => {
55
test("accepts the Node.js runtime used to install native SQLite dependencies", () => {
6-
expect(() => assertSupportedNodeRuntime("24.18.0")).not.toThrow();
6+
expect(() => assertSupportedNodeRuntime("26.5.0")).not.toThrow();
77
});
88

99
test("rejects an incompatible runtime before native modules are loaded", () => {
10-
expect(() => assertSupportedNodeRuntime("26.5.0")).toThrow(
10+
expect(() => assertSupportedNodeRuntime("24.18.0")).toThrow(
1111
`Context7 Local requires Node.js ${SUPPORTED_NODE_MAJOR}.x`
1212
);
1313
});

pnpm-lock.yaml

Lines changed: 40 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ allowBuilds:
88
protobufjs: false
99

1010
minimumReleaseAge: 10080
11+
minimumReleaseAgeExclude:
12+
- fast-uri@3.1.4
1113

1214
overrides:
1315
"@modelcontextprotocol/sdk>ajv": 8.18.0
14-
"@modelcontextprotocol/sdk>hono": 4.12.25
15-
ajv>fast-uri: 3.1.2
16+
"@modelcontextprotocol/sdk>@hono/node-server": 2.0.10
17+
"@modelcontextprotocol/sdk>hono": 4.12.27
18+
ajv>fast-uri: 3.1.4
1619
better-sqlite3: 12.11.1
17-
body-parser: 2.2.1
20+
body-parser: 2.3.0
1821
path-to-regexp: 8.4.0
1922
qs: 6.15.2

0 commit comments

Comments
 (0)