File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,13 @@ before_install:
3535- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=$LINUX_CXX; $CXX --version;
3636 fi;
3737- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then c++ --version; fi;
38- - npm install -g npm@latest
38+ - npm install -g npm@latest prebuildify node-gyp
3939
4040install : true
4141
4242script :
4343- npm test
44- - " ./node_modules/.bin/node-pre-gyp configure"
45- - " ./node_modules/.bin/node-pre-gyp build"
46- - " ./node_modules/.bin/node-pre-gyp package"
44+ - npm run build
4745- |
4846 if [[ "$TRAVIS_OS_NAME" == "linux" ]]
4947 then
Original file line number Diff line number Diff line change @@ -25,26 +25,28 @@ install:
2525 - where npm
2626 - where node
2727 - ps : Install-Product node $env:nodejs_version $env:platform
28- - ' npm install -g npm@latest'
28+ - ' npm install -g npm@latest prebuildify node-gyp '
2929
3030build : off
3131
3232artifacts :
33- - path : ' build/stage/**/ bcrypt*.tar.gz '
33+ - path : ' ./ bcrypt*.tgz '
3434
3535test_script :
3636 - node --version
3737 - npm --version
3838 - npm test
3939
4040after_test :
41- - .\node_modules\.bin\node-pre-gyp package
41+ - npm run build
42+ - npm run pack
4243
4344on_success :
4445 - ps : >
4546 if ($env:NODE_PRE_GYP_GITHUB_TOKEN -ne $null -and $env:APPVEYOR_REPO_TAG_NAME -match '^v(0|[1-9]+)\.(0|[1-9]+)\.(0|[1-9]+)(-\w)?$') {
4647 echo "Publishing $env:APPVEYOR_REPO_TAG_NAME"
47- 48- ./node_modules/.bin/node-pre-gyp-github publish --release
48+ ## TODO CONFIGURE FOR GITHUB NPM REGISTRY ###
49+ ## See https://docs.github.com/en/actions/guides/publishing-nodejs-packages#publishing-packages-to-github-packages
50+ npm publish
4951 }
5052
You can’t perform that action at this time.
0 commit comments