From 6eb0945113ac2b6c191b2cb01b2195fb9322f040 Mon Sep 17 00:00:00 2001 From: Daniel Hritzkiv Date: Fri, 10 Jan 2025 01:39:06 -0500 Subject: [PATCH] Update CI workflow npm installation Specify npm_config_build_from_source to build from source. Otherwise, an existing prebuilt binary will be downloaded instead --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87577fe7..d95f0b7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,9 @@ jobs: libglew-dev libglu1-mesa-dev libosmesa6 libxi-dev mesa-utils pkg-config - run: npm ci + env: + npm_config_build_from_source: true + # npm_config_build_from_source is used to force npm post install scripts to build native modules from source instead of downloading prebuilt binaries. - run: npm run build --if-present - if: runner.os == 'Linux' run: xvfb-run npm test