File tree Expand file tree Collapse file tree 5 files changed +5
-12
lines changed Expand file tree Collapse file tree 5 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest # https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md
11
11
strategy :
12
12
matrix :
13
- node-version : [15 .x]
13
+ node-version : [14 .x]
14
14
project :
15
15
- packages/ipfs
16
16
- packages/ipfs-core
25
25
with :
26
26
node-version : ${{ matrix.node-version }}
27
27
- uses : actions/checkout@v2
28
- - run : npm install -g @mapbox/node-pre-gyp && npm install
28
+ - run : npm install
29
29
- name : Bundlesize ${{ matrix.project }}
30
30
uses :
ipfs/aegir/actions/[email protected]
31
31
continue-on-error : true
Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ before_install:
66
66
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then export PATH=/c/PROGRA~1/Git/usr/bin:/c/PROGRA~1/Git/mingw64/libexec/git-core:$PATH ; fi
67
67
# only run jobs in packages that have changed since master in PR builds
68
68
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then export RUN_SINCE='--since master' ; fi
69
- # modules with pre-built binaries may not have deployed versions for bleeding-edge node so this lets us fall back to building from source
70
- - npm install -g @mapbox/node-pre-gyp
71
69
72
70
script :
73
71
- npm run test:node -- $RUN_SINCE -- -- --timeout 10000 --bail -- --exit # TODO remove --exit https://mochajs.org/#-exit
Original file line number Diff line number Diff line change @@ -8,11 +8,9 @@ ENV BUILD_DEPS='libnspr4 libnspr4-dev libnss3'
8
8
RUN apk add --no-cache git python3 build-base
9
9
10
10
# Hopefully remove when https://github.com/node-webrtc/node-webrtc/pull/694 is merged
11
- RUN npm install -g @mapbox/node-pre-gyp
12
11
RUN npm install -g ipfs@"$IPFS_VERSION"
13
12
14
13
# Make the image a bit smaller
15
- RUN npm uninstall -g @mapbox/node-pre-gyp
16
14
RUN npm cache clear --force
17
15
RUN apk del build-base python3 git
18
16
Original file line number Diff line number Diff line change @@ -8,11 +8,9 @@ ENV BUILD_DEPS='libnspr4 libnspr4-dev libnss3'
8
8
RUN apk add --no-cache git python3 build-base
9
9
10
10
# Hopefully remove when https://github.com/node-webrtc/node-webrtc/pull/694 is merged
11
- RUN npm install -g @mapbox/node-pre-gyp
12
11
RUN npm install -g ipfs@"$IPFS_VERSION"
13
12
14
13
# Make the image a bit smaller
15
- RUN npm uninstall -g @mapbox/node-pre-gyp
16
14
RUN npm cache clear --force
17
15
RUN apk del build-base python3 git
18
16
Original file line number Diff line number Diff line change 26
26
"test:node" : " aegir test -t node" ,
27
27
"coverage" : " nyc --reporter=text --reporter=lcov npm run test:node" ,
28
28
"clean" : " rimraf ./dist" ,
29
- "dep-check" : " aegir dep-check -i ipfs-core-types" ,
29
+ "dep-check" : " aegir dep-check -i ipfs-core-types -i @mapbox/node-pre-gyp " ,
30
30
"build" : " aegir build --no-bundle"
31
31
},
32
32
"dependencies" : {
33
+ "@mapbox/node-pre-gyp" : " ^1.0.5" ,
33
34
"debug" : " ^4.1.1" ,
34
35
"dlv" : " ^1.1.3" ,
35
36
"ipfs-core" : " ^0.7.0" ,
53
54
},
54
55
"optionalDependencies" : {
55
56
"prom-client" : " ^12.0.0" ,
56
- "prometheus-gc-stats" : " ^0.6.0"
57
- },
58
- "peerDependencies" : {
57
+ "prometheus-gc-stats" : " ^0.6.0" ,
59
58
"electron-webrtc" : " ^0.3.0" ,
60
59
"wrtc" : " ^0.4.6"
61
60
}
You can’t perform that action at this time.
0 commit comments