From 3618a89e570f175df1cb517bfe59485ad60a3778 Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Mon, 3 Nov 2025 17:06:55 +0000 Subject: [PATCH 1/5] feat: update node versions --- .github/workflows/main.yml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5a7a84b35..3cfac0941 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,19 +18,35 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm - run: npm ci - run: npm run build - - run: npm test - run: npm run lint + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: [18, 24] + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: npm + + - run: npm ci + - run: npm test + publish: runs-on: ubuntu-latest if: github.event_name == 'release' environment: release - needs: build + needs: [build, test] permissions: contents: read @@ -40,7 +56,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 24 cache: npm registry-url: 'https://registry.npmjs.org' From 337cb35ad503a9e3543e0fe772f7498a36aa2404 Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Mon, 3 Nov 2025 17:14:05 +0000 Subject: [PATCH 2/5] update engines to lts --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 84c6b0906..021e64fbe 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git" }, "engines": { - "node": ">=18" + "node": ">=24", + "npm": ">=11" }, "keywords": [ "modelcontextprotocol", From d8bd06a12d7966302ac6ad10ecc0c3ce3b9652f5 Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Mon, 3 Nov 2025 17:15:20 +0000 Subject: [PATCH 3/5] revert engines --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 021e64fbe..a66d3602e 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git" }, "engines": { - "node": ">=24", - "npm": ">=11" + "node": ">=18", + "npm": ">=10" }, "keywords": [ "modelcontextprotocol", From 1912059d9d364bd5faf04c7fd0733693b5c02676 Mon Sep 17 00:00:00 2001 From: Matt <77928207+mattzcarey@users.noreply.github.com> Date: Tue, 4 Nov 2025 15:39:35 +0000 Subject: [PATCH 4/5] Update package.json --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index a66d3602e..84c6b0906 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,7 @@ "url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git" }, "engines": { - "node": ">=18", - "npm": ">=10" + "node": ">=18" }, "keywords": [ "modelcontextprotocol", From 8ce78bfe461a380a0b595c44a74296c943907302 Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Fri, 7 Nov 2025 16:30:24 +0000 Subject: [PATCH 5/5] fix: ci --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 838300196..ea619bd01 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,6 @@ jobs: - run: npm ci - run: npm run check - run: npm run build - - run: npm test test: runs-on: ubuntu-latest