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 1010 runs-on : ubuntu-latest # https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md
1111 strategy :
1212 matrix :
13- node-version : [15 .x]
13+ node-version : [14 .x]
1414 project :
1515 - packages/ipfs
1616 - packages/ipfs-core
2525 with :
2626 node-version : ${{ matrix.node-version }}
2727 - uses : actions/checkout@v2
28- - run : npm install -g @mapbox/node-pre-gyp && npm install
28+ - run : npm install
2929 - name : Bundlesize ${{ matrix.project }}
3030 uses : ipfs/aegir/actions/bundle-size@v32.1.0
3131 continue-on-error : true
Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ before_install:
6666 - if [ "$TRAVIS_OS_NAME" = "windows" ]; then export PATH=/c/PROGRA~1/Git/usr/bin:/c/PROGRA~1/Git/mingw64/libexec/git-core:$PATH ; fi
6767 # only run jobs in packages that have changed since master in PR builds
6868 - 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
7169
7270script :
7371 - 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'
88RUN apk add --no-cache git python3 build-base
99
1010# Hopefully remove when https://github.com/node-webrtc/node-webrtc/pull/694 is merged
11- RUN npm install -g @mapbox/node-pre-gyp
1211RUN npm install -g ipfs@"$IPFS_VERSION"
1312
1413# Make the image a bit smaller
15- RUN npm uninstall -g @mapbox/node-pre-gyp
1614RUN npm cache clear --force
1715RUN apk del build-base python3 git
1816
Original file line number Diff line number Diff line change @@ -8,11 +8,9 @@ ENV BUILD_DEPS='libnspr4 libnspr4-dev libnss3'
88RUN apk add --no-cache git python3 build-base
99
1010# Hopefully remove when https://github.com/node-webrtc/node-webrtc/pull/694 is merged
11- RUN npm install -g @mapbox/node-pre-gyp
1211RUN npm install -g ipfs@"$IPFS_VERSION"
1312
1413# Make the image a bit smaller
15- RUN npm uninstall -g @mapbox/node-pre-gyp
1614RUN npm cache clear --force
1715RUN apk del build-base python3 git
1816
Original file line number Diff line number Diff line change 2626 "test:node" : " aegir test -t node" ,
2727 "coverage" : " nyc --reporter=text --reporter=lcov npm run test:node" ,
2828 "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 " ,
3030 "build" : " aegir build --no-bundle"
3131 },
3232 "dependencies" : {
33+ "@mapbox/node-pre-gyp" : " ^1.0.5" ,
3334 "debug" : " ^4.1.1" ,
3435 "dlv" : " ^1.1.3" ,
3536 "ipfs-core" : " ^0.7.0" ,
5354 },
5455 "optionalDependencies" : {
5556 "prom-client" : " ^12.0.0" ,
56- "prometheus-gc-stats" : " ^0.6.0"
57- },
58- "peerDependencies" : {
57+ "prometheus-gc-stats" : " ^0.6.0" ,
5958 "electron-webrtc" : " ^0.3.0" ,
6059 "wrtc" : " ^0.4.6"
6160 }
You can’t perform that action at this time.
0 commit comments