We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d8737d commit ef38887Copy full SHA for ef38887
1 file changed
.github/workflows/codeql.yml
@@ -78,6 +78,11 @@ jobs:
78
with:
79
languages: ${{ matrix.language }}
80
81
+ - name: Install node-gyp globally (c-cpp)
82
+ # pnpm doesn't bundle node-gyp; install it so the `gypfile: true` auto-rebuild works.
83
+ if: matrix.language == 'c-cpp'
84
+ run: npm install -g node-gyp
85
+
86
- name: Build native binding (c-cpp)
87
# CodeQL wraps the compiler: install must happen between init and analyze.
88
# `pnpm install` triggers postinstall → node-gyp-build → node-gyp rebuild (compiles from source).
0 commit comments