diff --git a/.travis.yml b/.travis.yml index 5ee27f8..3e2be6a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/tools/semantic-release-prepare.ts b/tools/semantic-release-prepare.ts index 0b4ea56..e36b0bc 100644 --- a/tools/semantic-release-prepare.ts +++ b/tools/semantic-release-prepare.ts @@ -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(