Skip to content

Commit

Permalink
Add Travis deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Harrison committed Jan 15, 2020
1 parent d7269ad commit 389fa8c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
23 changes: 17 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
language: node_js
node_js:
- "6"
- "7"
- "8"
- "10"
- "lts/*"
- "node"
- 6
- 7
- 8
- 10
- lts/*
- node
before_script:
- lerna bootstrap
- ./test/prism.sh &
Expand All @@ -18,3 +18,14 @@ script:
- yarn test:client
- yarn test:helpers
- yarn lint
after_script:
- git reset HEAD --hard
before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
deploy:
- provider: script
script: "lerna publish from-package --yes"
skip_cleanup: true
on:
tags: true
node: 10
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"packages": [
"packages/*"
],
"version": "6.5.0"
"version": "6.5.0",
"tagVersionPrefix": ""
}

0 comments on commit 389fa8c

Please sign in to comment.