Skip to content

Commit 6eb0945

Browse files
committed
Update CI workflow npm installation
Specify npm_config_build_from_source to build from source. Otherwise, an existing prebuilt binary will be downloaded instead
1 parent c16e31e commit 6eb0945

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
libglew-dev libglu1-mesa-dev libosmesa6
2727
libxi-dev mesa-utils pkg-config
2828
- run: npm ci
29+
env:
30+
npm_config_build_from_source: true
31+
# npm_config_build_from_source is used to force npm post install scripts to build native modules from source instead of downloading prebuilt binaries.
2932
- run: npm run build --if-present
3033
- if: runner.os == 'Linux'
3134
run: xvfb-run npm test

0 commit comments

Comments
 (0)