Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit dbeb699

Browse files
committed
Install recent node-gyp globally
1 parent 8624da9 commit dbeb699

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@ jobs:
2222
uses: actions/setup-node@v2
2323
with:
2424
node-version: ${{matrix.node}}
25-
- name: Install node-gyp
25+
- name: Install global node-gyp on Linux
26+
if: ${{matrix.os == 'ubuntu-latest'}}
2627
run: sudo npm i -g node-gyp
28+
- name: Install global node-gyp on non Linux
29+
if: ${{matrix.os != 'ubuntu-latest'}}
30+
run: npm i -g node-gyp
2731
- name: Run tests
2832
env:
2933
OPENCV4NODEJS_DISABLE_AUTOBUILD: 1

0 commit comments

Comments
 (0)