Skip to content

Commit

Permalink
fix(ci): publish dist folder to npm, and clean up from failed attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
zenflow committed Mar 5, 2018
1 parent 38d73f6 commit 7875096
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Empty file removed .npmignore
Empty file.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ script:
- cat ./coverage/lcov.info | coveralls
after_success:
- npm run release
- ls dist
- ls tarball
- tar --gzip --list --verbose --file=tarball/*.tgz
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test-only": "karma start karma.conf.js --single-run --report-coverage",
"test": "npm run lint && npm run test-only",
"build": "del-cli dist && webpack --config webpack.config.dist.js",
"release": "semantic-release"
"release": "npm run build && semantic-release"
},
"keywords": [
"sweetalert",
Expand Down

0 comments on commit 7875096

Please sign in to comment.