This repository was archived by the owner on Oct 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +8
-683
lines changed Expand file tree Collapse file tree 6 files changed +8
-683
lines changed Original file line number Diff line number Diff line change 2222 uses : actions/setup-node@v2
2323 with :
2424 node-version : ${{matrix.node}}
25+ - name : Install node-gyp
26+ run : sudo npm i -g node-gyp
2527 - name : Run tests
2628 env :
2729 OPENCV4NODEJS_DISABLE_AUTOBUILD : 1
Original file line number Diff line number Diff line change 2121 uses : actions/setup-node@v2
2222 with :
2323 node-version : ${{matrix.node}}
24+ - name : Install node-gyp
25+ run : sudo npm i -g node-gyp
2426 - name : Install
2527 run : npm ci --unsafe-perm
2628 - name : Publish prebuild
4345 uses : actions/setup-node@v2
4446 with :
4547 node-version : ${{matrix.node}}
48+ - name : Install node-gyp
49+ run : sudo npm i -g node-gyp
4650 - name : Install
4751 run : npm ci --unsafe-perm
4852 - name : Publish prebuild
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ echo "Prebuild runtime: ${RUNTIME}"
1212cd ../../ && \
1313npm install --unsafe-perm && \
1414cd test
15- npm install && npm test
15+ npm install && OPENCV4NODEJS_DISABLE_AUTOBUILD=1 npm test
1616cd -
1717npm 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 11#! /bin/sh
2+ export OPENCV4NODEJS_DISABLE_AUTOBUILD=1
23echo installing && \
34npm install --unsafe-perm && \
45echo running tests && \
You can’t perform that action at this time.
0 commit comments