This repository was archived by the owner on Oct 18, 2023. It is now read-only.
File tree 6 files changed +8
-683
lines changed
6 files changed +8
-683
lines changed Original file line number Diff line number Diff line change 22
22
uses : actions/setup-node@v2
23
23
with :
24
24
node-version : ${{matrix.node}}
25
+ - name : Install node-gyp
26
+ run : sudo npm i -g node-gyp
25
27
- name : Run tests
26
28
env :
27
29
OPENCV4NODEJS_DISABLE_AUTOBUILD : 1
Original file line number Diff line number Diff line change 21
21
uses : actions/setup-node@v2
22
22
with :
23
23
node-version : ${{matrix.node}}
24
+ - name : Install node-gyp
25
+ run : sudo npm i -g node-gyp
24
26
- name : Install
25
27
run : npm ci --unsafe-perm
26
28
- name : Publish prebuild
43
45
uses : actions/setup-node@v2
44
46
with :
45
47
node-version : ${{matrix.node}}
48
+ - name : Install node-gyp
49
+ run : sudo npm i -g node-gyp
46
50
- name : Install
47
51
run : npm ci --unsafe-perm
48
52
- name : Publish prebuild
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ echo "Prebuild runtime: ${RUNTIME}"
12
12
cd ../../ && \
13
13
npm install --unsafe-perm && \
14
14
cd test
15
- npm install && npm test
15
+ npm install && OPENCV4NODEJS_DISABLE_AUTOBUILD=1 npm test
16
16
cd -
17
17
npm run prebuild -- -t $TARGET -r $RUNTIME --include-regex " \.(node|a|so|dylib|lib|dll).*$" -u $GITHUB_TOKEN ;
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
+ export OPENCV4NODEJS_DISABLE_AUTOBUILD=1
2
3
echo installing && \
3
4
npm install --unsafe-perm && \
4
5
echo running tests && \
You can’t perform that action at this time.
0 commit comments