4343 uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
4444
4545 - name : Setup Go environment
46- uses : actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5 .0
46+ uses : actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0 .0
4747 with :
4848 cache-dependency-path : ' client/go.sum'
4949 go-version-file : ' client/go.mod'
@@ -69,14 +69,15 @@ jobs:
6969 echo "✅ Lint checks passed" >> $GITHUB_STEP_SUMMARY
7070
7171 integration-tests :
72- name : Integration Tests (${{ matrix.os }}, ${{ matrix.mcp-mode }})
72+ name : Integration Tests (${{ matrix.os }}, ${{ matrix.mcp-mode }}, Node ${{ matrix.node }} )
7373 needs : build-and-test-client
7474 runs-on : ${{ matrix.os }}
7575
7676 strategy :
7777 fail-fast : false
7878 matrix :
7979 mcp-mode : [http, stdio]
80+ node : ['.node-version', '26']
8081 os : [ubuntu-latest, windows-latest]
8182
8283 env :
@@ -96,17 +97,25 @@ jobs:
9697 uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
9798
9899 - name : Setup Go environment
99- uses : actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5 .0
100+ uses : actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0 .0
100101 with :
101102 cache-dependency-path : ' client/go.sum'
102103 go-version-file : ' client/go.mod'
103104
104- - name : Setup Node.js environment
105- uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
105+ - name : Setup Node.js environment (from .node-version)
106+ if : matrix.node == '.node-version'
107+ uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
106108 with :
107109 cache : ' npm'
108110 node-version-file : ' .node-version'
109111
112+ - name : Setup Node.js environment (explicit version)
113+ if : matrix.node != '.node-version'
114+ uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
115+ with :
116+ cache : ' npm'
117+ node-version : ${{ matrix.node }}
118+
110119 - name : Install OS dependencies (Ubuntu)
111120 if : runner.os == 'Linux'
112121 run : sudo apt-get install -y jq
@@ -195,28 +204,37 @@ jobs:
195204 - name : Summary
196205 shell : bash
197206 run : |
198- echo "## Integration Tests (${{ matrix.os }}, ${{ matrix.mcp-mode }})" >> $GITHUB_STEP_SUMMARY
199- echo "✅ MCP server integration tests passed on ${{ matrix.os }} with ${{ matrix.mcp-mode }} transport" >> $GITHUB_STEP_SUMMARY
207+ echo "## Integration Tests (${{ matrix.os }}, ${{ matrix.mcp-mode }}, Node ${{ matrix.node }} )" >> $GITHUB_STEP_SUMMARY
208+ echo "✅ MCP server integration tests passed on ${{ matrix.os }} with ${{ matrix.mcp-mode }} transport (Node ${{ matrix.node }}) " >> $GITHUB_STEP_SUMMARY
200209
201210 codeql-path-tests :
202- name : CODEQL_PATH Tests (${{ matrix.os }})
211+ name : CODEQL_PATH Tests (${{ matrix.os }}, Node ${{ matrix.node }} )
203212 runs-on : ${{ matrix.os }}
204213
205214 strategy :
206215 fail-fast : false
207216 matrix :
217+ node : ['.node-version', '26']
208218 os : [macos-latest, ubuntu-latest, windows-latest]
209219
210220 steps :
211221 - name : Checkout repository
212222 uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
213223
214- - name : Setup Node.js
215- uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
224+ - name : Setup Node.js (from .node-version)
225+ if : matrix.node == '.node-version'
226+ uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
216227 with :
217228 cache : ' npm'
218229 node-version-file : ' .node-version'
219230
231+ - name : Setup Node.js (explicit version)
232+ if : matrix.node != '.node-version'
233+ uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
234+ with :
235+ cache : ' npm'
236+ node-version : ${{ matrix.node }}
237+
220238 - name : Install server dependencies
221239 run : npm ci --workspace=server
222240
@@ -317,7 +335,7 @@ jobs:
317335 - name : Summary
318336 shell : bash
319337 run : |
320- echo "## CODEQL_PATH Tests (${{ matrix.os }})" >> $GITHUB_STEP_SUMMARY
338+ echo "## CODEQL_PATH Tests (${{ matrix.os }}, Node ${{ matrix.node }} )" >> $GITHUB_STEP_SUMMARY
321339 echo "" >> $GITHUB_STEP_SUMMARY
322340 echo "| Test | Result |" >> $GITHUB_STEP_SUMMARY
323341 echo "| ---- | ------ |" >> $GITHUB_STEP_SUMMARY
@@ -329,4 +347,5 @@ jobs:
329347 echo "| ------ | ----- |" >> $GITHUB_STEP_SUMMARY
330348 echo "| CodeQL Version | ${{ steps.locate-codeql.outputs.codeql-version }} |" >> $GITHUB_STEP_SUMMARY
331349 echo "| CodeQL Binary | \`${{ steps.locate-codeql.outputs.codeql-binary }}\` |" >> $GITHUB_STEP_SUMMARY
350+ echo "| Node | ${{ matrix.node }} |" >> $GITHUB_STEP_SUMMARY
332351 echo "| OS | ${{ matrix.os }} |" >> $GITHUB_STEP_SUMMARY
0 commit comments