File tree Expand file tree Collapse file tree 5 files changed +26
-0
lines changed
Expand file tree Collapse file tree 5 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 4141 - name : Install dependencies
4242 run : npm ci --include=optional --ignore-scripts
4343
44+ # # esbuild's optional platform binary is normally wired up by its postinstall
45+ # # script; .npmrc 'ignore-scripts=true' suppresses that, so rebuild here.
46+ - name : Rebuild esbuild platform binary
47+ run : npm rebuild esbuild --ignore-scripts=false
48+
4449 - name : Build server (dependency)
4550 run : npm run build -w server
4651
Original file line number Diff line number Diff line change 4040 run : npm ci --include=optional --ignore-scripts
4141 working-directory : .
4242
43+ # # esbuild's optional platform binary is normally wired up by its postinstall
44+ # # script; .npmrc 'ignore-scripts=true' suppresses that, so rebuild here.
45+ - name : Build Server - Rebuild esbuild platform binary
46+ run : npm rebuild esbuild --ignore-scripts=false
47+
4348 - name : Build Server - Clean previous build
4449 run : npm run clean
4550
Original file line number Diff line number Diff line change 6262 - name : MCP Integration Tests - Install node dependencies for client and server workspaces
6363 run : npm ci --workspace=client --ignore-scripts && npm ci --workspace=server --ignore-scripts
6464
65+ # # esbuild's optional platform binary is normally wired up by its postinstall
66+ # # script; .npmrc 'ignore-scripts=true' suppresses that, so rebuild here.
67+ - name : MCP Integration Tests - Rebuild esbuild platform binary
68+ run : npm rebuild esbuild --ignore-scripts=false
69+
6570 - name : MCP Integration Tests - Setup CodeQL environment
6671 uses : ./.github/actions/setup-codeql-environment
6772 with :
@@ -169,6 +174,11 @@ jobs:
169174 - name : CODEQL_PATH Tests - Install server dependencies
170175 run : npm ci --workspace=server --ignore-scripts
171176
177+ # # esbuild's optional platform binary is normally wired up by its postinstall
178+ # # script; .npmrc 'ignore-scripts=true' suppresses that, so rebuild here.
179+ - name : CODEQL_PATH Tests - Rebuild esbuild platform binary
180+ run : npm rebuild esbuild --ignore-scripts=false
181+
172182 - name : CODEQL_PATH Tests - Build server bundle
173183 run : npm run bundle -w server
174184
Original file line number Diff line number Diff line change 4848 - name : Copilot Setup - Install dependencies
4949 run : npm ci --include=optional --ignore-scripts
5050
51+ # # esbuild's optional platform binary is normally wired up by its postinstall
52+ # # script; .npmrc 'ignore-scripts=true' suppresses that, so rebuild here.
53+ - name : Copilot Setup - Rebuild esbuild platform binary
54+ run : npm rebuild esbuild --ignore-scripts=false
55+
5156 - name : Copilot Setup - Setup CodeQL environment
5257 uses : ./.github/actions/setup-codeql-environment
5358 with :
Original file line number Diff line number Diff line change 8686# Step 1: Build and bundle the server code
8787echo " 📦 Building CodeQL MCP server bundle..."
8888cd " $SERVER_DIR "
89+ npm run rebuild:esbuild
8990npm run bundle
9091
9192# Step 2: Install CodeQL packs (only once for both modes, skip if --no-install-packs)
You can’t perform that action at this time.
0 commit comments