Skip to content

Commit eb0e247

Browse files
committed
chore: update travis config
1 parent 2352234 commit eb0e247

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: ">= 1.0.0"
12
language: node_js
23
node_js:
34
- "10"
@@ -22,7 +23,7 @@ jobs:
2223
script:
2324
- yarn run test:ci
2425
- stage: release
25-
if: "(branch IN (master, ui-next)) AND (NOT (type IN (pull_request)))"
26+
if: "(branch IN (master, ui-next)) AND (NOT (type IN (pull_request))) AND (tag =~ /^v3/)"
2627
before_install:
2728
- curl -o- -L https://yarnpkg.com/install.sh | bash
2829
- export PATH="$HOME/.yarn/bin:$PATH"
@@ -36,7 +37,7 @@ jobs:
3637
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
3738
deploy:
3839
provider: script
39-
skip_cleanup: true
40+
cleanup: false
4041
script: "yarn run publish"
4142
on:
4243
tags: true

0 commit comments

Comments
 (0)