File tree Expand file tree Collapse file tree 4 files changed +6167
-11391
lines changed
Expand file tree Collapse file tree 4 files changed +6167
-11391
lines changed Original file line number Diff line number Diff line change 11language : node_js
22sudo : false
3+
34node_js :
45 - 8
56 - 7
67 - 6
78
89cache :
10+ yarn : true
911 directories :
1012 - ~/.npm
1113 - node_modules
@@ -15,22 +17,15 @@ branches:
1517 - master
1618
1719before_install :
18- # Use exact Node version.
19- - nvm use $TRAVIS_NODE_VERSION
20-
21- # Setup package managers.
22- - npm set loglevel error
23- - npm set progress false
20+ - " curl -o- -L https://yarnpkg.com/install.sh | bash"
21+ - export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
2422
2523script :
26- - npm run test
27-
28- after_script :
29- - npm prune
24+ - yarn test
3025
3126deploy :
3227 provider : script
33- script : npm run travis-deploy-once "npm run semantic-release"
28+ script : yarn travis-deploy-once "yarn semantic-release"
3429 skip_cleanup : true
3530 on :
3631 branch : master
You can’t perform that action at this time.
0 commit comments