Skip to content

Commit c927eaf

Browse files
committed
CI to publish
1 parent bc44898 commit c927eaf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: node_js
2+
node_js:
3+
- "8"
4+
- "10"
5+
cache: yarn
6+
7+
install:
8+
- yarn global add lerna
9+
- lerna bootstrap
10+
11+
before_deploy:
12+
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
13+
14+
deploy:
15+
provider: script
16+
script: lerna publish from-package --yes --no-git-tag-version --no-push
17+
skip_cleanup: true
18+
on:
19+
node: "10"
20+
branch: release

0 commit comments

Comments
 (0)