Skip to content

Commit caeb562

Browse files
committed
fix: update Travis CI
1 parent d1fe109 commit caeb562

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ language: node_js
44
node_js:
55
- 12
66

7+
install:
8+
- yarn
9+
710
cache:
811
directories:
912
- ~/.npm
1013
notifications:
1114
email: false
1215

1316
before_install:
14-
- npm i && npm i codecov.io coveralls
17+
- yarn && yarn add codecov.io coveralls
1518

1619
after_success:
1720
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
1821
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
19-
- npm run build
20-
- npm run travis-deploy-once "npm run semantic-release"
22+
- yarn run build
23+
- yarn run travis-deploy-once "yarn run semantic-release"
2124

2225
branches:
2326
only:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"prepare": "tsdx build",
1919
"size": "size-limit",
2020
"analyze": "size-limit --why",
21+
"travis-deploy-once": "travis-deploy-once",
2122
"semantic-release": "semantic-release"
2223
},
2324
"peerDependencies": {

0 commit comments

Comments
 (0)