Skip to content

Commit

Permalink
fix(travis): add build docs storybooks
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasmenker committed Dec 11, 2019
1 parent 48f5fbc commit 9862df8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 28 deletions.
13 changes: 13 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.babelrc
.eslintrc
.gitignore
.eslintignore
.prettierrc
.travis.yml
.idea
coverage/
test/
src/
docs/
scripts/
webpack.config.js
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
provider: script
skip_cleanup: true
script:
- npm run build && npx semantic-release
- npm run build && npm run build-storybook && npx semantic-release
2 changes: 0 additions & 2 deletions dist/main.bundle.js

This file was deleted.

2 changes: 0 additions & 2 deletions dist/main.css

This file was deleted.

24 changes: 1 addition & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,33 +27,11 @@
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"assets": [
"docs/",
{
"path": "dist/main.css",
"label": "CSS distribution"
},
{
"path": "dist/main.bundle.js",
"label": "JS distribution"
}
]
}
],
"@semantic-release/github",
"@semantic-release/changelog",
[
"@semantic-release/git",
{
"assets": [
"docs/",
"dist/**/*.{js,css}",
"package.json",
"package-lock.json",
"CHANGELOG.md"
],
"message": "release (${nextRelease.version})"
}
]
Expand Down

0 comments on commit 9862df8

Please sign in to comment.