Merge pull request #91 from rschamp/travis-stages

Don't use npm prepublish
This commit is contained in:
Ray Schamp 2018-06-14 13:58:44 -04:00 committed by GitHub
commit 2ea0867df8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -18,13 +18,14 @@ jobs:
node_js: 8
- stage: release
node_js: 8
script: skip
env: NPM_SCRIPT=build
before_deploy:
- npm --no-git-tag-version version 0.1.0-prerelease.$(date +%Y%m%d%H%M%S)
deploy:
- provider: npm
on:
all_branches: true
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_TOKEN
stages:

View file

@ -9,8 +9,7 @@
"build": "webpack --bail",
"watch": "webpack --watch",
"lint": "eslint .",
"tap": "tap test/effects/*.js test/*.js",
"prepublish": "npm run build"
"tap": "tap test/effects/*.js test/*.js"
},
"repository": {
"type": "git",