From d74b002969fcfe8a14bde3db6746d598b7369111 Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 6 Apr 2026 10:43:43 -0800 Subject: [PATCH] Build native modules from source Another thing I managed to miss when refactoring CI. --- .github/workflows/release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f1bdfce10..fdce9e060 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -45,7 +45,11 @@ jobs: # Cross-compile target. VSCODE_ARCH: ${{ matrix.vscode_arch }} npm_config_arch: ${{ matrix.npm_arch }} + # Ensure native modules are built from source to avoid prebuilds and use + # the correct version of glibc. + npm_config_build_from_source: true # Gulp target name. + # TODO: Pull from VSCODE_ARCH instead. VSCODE_TARGET: ${{ format('linux-{0}', matrix.vscode_arch) }} steps: @@ -125,6 +129,8 @@ jobs: VSCODE_TARGET: ${{ matrix.vscode_target }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: ${{ inputs.version || github.ref_name }} + # Ensure native modules are built from source to avoid prebuilds. + npm_config_build_from_source: true steps: # The version of node-gyp we use depends on distutils but it was removed