Skip to content

Commit e55ae7b

Browse files
authored
Use package-lock.json to pin conformance test dependencies (#1247)
1 parent cfa89a3 commit e55ae7b

9 files changed

Lines changed: 1416 additions & 54 deletions

File tree

.github/workflows/ci-build-test.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616
- "*.props"
1717
- "Makefile"
1818
- "global.json"
19+
- "package.json"
20+
- "package-lock.json"
1921
- "src/**"
2022
- "tests/**"
2123
- "samples/**"
@@ -52,15 +54,8 @@ jobs:
5254
with:
5355
node-version: '20'
5456

55-
- name: 📦 Install dependencies for tests
56-
run: npm install @modelcontextprotocol/server-everything@2025.12.18
57-
58-
- name: 📦 Install dependencies for tests
59-
run: npm install @modelcontextprotocol/server-memory
60-
61-
# Keep version in sync with McpConformanceVersion in Directory.Packages.props
62-
- name: 📦 Install conformance test runner
63-
run: npm install @modelcontextprotocol/conformance@0.1.10
57+
- name: 📦 Install pinned npm dependencies for tests
58+
run: npm ci
6459

6560
- name: 🏗️ Build
6661
run: make build CONFIGURATION=${{ matrix.configuration }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ _ReSharper*/
3434
**/packages/*
3535
!**/packages/build/
3636

37+
# npm
38+
node_modules/
39+
3740
# MSTest test Results
3841
[Tt]est[Rr]esult*/
3942
[Bb]uild[Ll]og.*

Directory.Packages.props

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
<System9Version>9.0.11</System9Version>
66
<System10Version>10.0.2</System10Version>
77
<MicrosoftExtensionsVersion>10.2.0</MicrosoftExtensionsVersion>
8-
<!-- Pin the conformance tester Node package version for CI stability.
9-
Keep in sync npm install step at ci-build-test.yml -->
10-
<McpConformanceVersion>0.1.10</McpConformanceVersion>
118
</PropertyGroup>
129

1310
<!-- Product dependencies shared -->

0 commit comments

Comments
 (0)