Skip to content

Commit d5e2ca4

Browse files
committed
Use ignore-scripts flag to prevent installing/building a pre-built headless-gl binary as part of the npm ci step
building happens in a subsequent step
1 parent dfdd067 commit d5e2ca4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ jobs:
2727
sudo add-apt-repository ppa:kisak/turtle &&
2828
sudo apt update &&
2929
sudo apt-get install -y build-essential libgl1-mesa-dri libglapi-mesa libglew-dev libglu1-mesa-dev libosmesa6 libxi-dev mesa-utils pkg-config
30-
- run: npm ci
30+
- run: npm ci --ignore-scripts
3131
env:
3232
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
npm_config_build_from_source: true
34-
# npm_config_build_from_source is used to force npm post install scripts to build native modules from source instead of downloading prebuilt binaries.
3533
- run: npm run build --if-present
3634
- if: runner.os == 'Linux'
3735
run: xvfb-run glxinfo

0 commit comments

Comments
 (0)