Skip to content

Commit a0d9ed1

Browse files
author
Hu Chen
committed
fix: fix travis config
1 parent aac729a commit a0d9ed1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ jobs:
1818
- yarn validate
1919
- codecov
2020
- stage: release
21-
script: skip
21+
if: branch = master
22+
script:
23+
- yarn build
2224
deploy:
2325
provider: script
2426
skip_cleanup: true
2527
script:
26-
- yarn build
27-
- yarn semantic-release
28-
on:
29-
branch: master
28+
- npx semantic-release

0 commit comments

Comments
 (0)