Skip to content

Commit

Permalink
Running build on before_deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
rwillians committed Apr 5, 2019
1 parent 650a3c6 commit 3187ccb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@ cache:
directories:
- node_modules

before_script:
- npm run build

script:
- npm run build
- npm run lint
- npm run test
- npm run coverage

after_success:
- npm global add coveralls && npm run coverage:report | coveralls

before_deploy:
- npm run build

deploy:
provider: npm
email: $NPM_EMAIL_ADDRESS
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "express-rescue",
"version": "1.1.7",
"version": "1.1.8",
"description": "A wrapper for async functions which makes sure all async errors are passed to your errors handler",
"license": "MIT",
"main": "dist/index.js",
Expand Down

0 comments on commit 3187ccb

Please sign in to comment.