Skip to content

Commit 9928028

Browse files
committed
Configure npm deployment
1 parent 358a89a commit 9928028

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.travis.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@ script:
1414
- yarn build:storybook
1515

1616
deploy:
17-
provider: pages
18-
local_dir: storybook-static
19-
skip_cleanup: true
20-
github_token: $GITHUB_TOKEN
21-
keep_history: true
22-
on:
23-
branch: master
17+
- provider: pages
18+
local_dir: storybook-static
19+
skip_cleanup: true
20+
github_token: $GITHUB_TOKEN
21+
keep_history: true
22+
on:
23+
branch: master
24+
- provider: npm
25+
email: $NPM_EMAIL
26+
api_key: $NPM_TOKEN
27+
edge: true
28+
on:
29+
tags: true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"dev:rollup": "rollup -c --w",
4343
"dev:storybook": "start-storybook -p 6006",
4444
"build:rollup": "rollup -c",
45-
"build:storybook": "build-storybook"
45+
"build:storybook": "build-storybook --quiet"
4646
},
4747
"files": [
4848
"dist"

0 commit comments

Comments
 (0)