Skip to content

Commit 454b7a7

Browse files
committed
Deploy to npm via travis
1 parent 913d05c commit 454b7a7

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.travis.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- lts/*
4+
- lts/*
55
notifications:
66
email:
77
recipients:
8-
9-
8+
9+
script:
10+
- npm test
11+
deploy:
12+
provider: npm
13+
14+
api_key:
15+
secure: XJrE1GjoXwyqZUdDhUKlUUOIFEDvNJbImz219q5kZstIJC28pn858gT91/DFOkTgKySlTrzVn7Sa0g8Ogws6cBqTbb1B1CtkDm+wC5FYPrOPRdSHbcBKgNtiQsSeNdPxlEB9WU6DxzppPNVFJoAf9g3TfTdvxWlwPWJGgzeQbP8=
16+
on:
17+
tags: true
18+
all_branches: true
19+
condition: "$TRAVIS_TAG =~ ^v[0-9]+\\.[0-9]+\\.[0-9]+"

0 commit comments

Comments
 (0)