Skip to content

Commit

Permalink
feat: add semantic scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed May 31, 2019
1 parent 16b5f84 commit 8da1ee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ notifications:
node_js:
- '10'
script:
- npm run test:prod && npm run build
- npm run test && npm run build
after_success:
- npm run travis-deploy-once "npm run report-coverage"
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run deploy-docs"; fi
Expand Down
2 changes: 1 addition & 1 deletion tools/semantic-release-prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const pkg = JSON.parse(
readFileSync(path.resolve(__dirname, "..", "package.json"))
)

pkg.scripts.prepush = "npm run test:prod && npm run build"
pkg.scripts.prepush = "npm run test && npm run build"
pkg.scripts.commitmsg = "commitlint -E HUSKY_GIT_PARAMS"

writeFileSync(
Expand Down

0 comments on commit 8da1ee5

Please sign in to comment.