Skip to content

Commit dbef860

Browse files
zabawaba99ApoorvSaxena
authored andcommitted
Adding NPM deployment to .travis.yaml. (ApoorvSaxena#68)
resolves ApoorvSaxena#38
1 parent 65f9744 commit dbef860

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,13 @@ node_js:
44
- '8'
55
script:
66
- npm run build
7-
- npm run test
7+
- npm run test
8+
9+
deploy:
10+
provider: npm
11+
email: $NPM_EMAIL
12+
api_key: $NPM_API_KEY
13+
on:
14+
tags: true
15+
# make sure we keep our dist directory
16+
skip_cleanup: true

0 commit comments

Comments
 (0)