Skip to content

Commit

Permalink
Reverted npm commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bencefr committed Feb 26, 2019
1 parent 528a20a commit 172a973
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ before_install:
script:
- npm install
- npm run build
- npm run package-prebuilt
- echo tag=$TRAVIS_TAG pullrequest=$TRAVIS_PULL_REQUEST
- |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"publish-prebuilt": "node-pre-gyp-github publish",
"publish-all-prebuilt": "node scripts/publish-all-prebuilt.js",
"fetch-prebuilt": "node scripts/pre-gyp-fetch-draft.js",
"build": "node-pre-gyp install --fallback-to-build=false || node build.js",
"install": "npm run fetch-prebuilt || node-pre-gyp install --fallback-to-build=false || node build.js",
"test": "jest --config config/jest-unit.json",
"docs": "jsdoc api -t node_modules/minami -R README.md -d docs -c .jsdoc.json"
},
Expand Down
6 changes: 3 additions & 3 deletions scripts/pre-gyp-fetch-draft.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ const path = require('path');
const pkgJson = require('../package.json');
const mkdirp = require('mkdirp');

// if (!process.env.ENABLE_DRAFT_TEST) {
// process.exit(1);
// }
if (!process.env.ENABLE_DRAFT_TEST) {
process.exit(1);
}

const ghToken = process.env.NODE_PRE_GYP_GITHUB_TOKEN;

Expand Down

0 comments on commit 172a973

Please sign in to comment.