Skip to content

Commit 5a80353

Browse files
committed
fix: switch to yarn for CI
1 parent 639f9fe commit 5a80353

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

.travis.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
language: node_js
22
cache:
3-
directories:
4-
- ~/.npm
3+
yarn: true
4+
yarn: true
55
notifications:
66
email: false
7-
install: npm install --skip-optional
7+
install: yarn install --no-lockfile --non-interactive
88
node_js:
99
- '10'
10-
- '9'
1110
- '8'
12-
- '6'
13-
after_success:
14-
- nvm install 10
15-
- nvm use 10
16-
- npm install
17-
- npm run travis-deploy-once "npm run semantic-release"
11+
script:
12+
- yarn test && yarn travis-deploy-once "npm run semantic-release"
1813
branches:
1914
except:
2015
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"travis-deploy-once": "travis-deploy-once"
3232
},
3333
"devDependencies": {
34-
"babel-core": "^7.0.0",
34+
"babel-core": "^7.0.0-bridge",
3535
"@babel/preset-env": "^7.1.5",
3636
"@babel/preset-react": "^7.0.0",
3737
"@mike-works/js-lib-renovate-config": "2.0.0",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2025,7 +2025,7 @@ babel-core@^6.0.0, babel-core@^6.24.1:
20252025
slash "^1.0.0"
20262026
source-map "^0.5.0"
20272027

2028-
babel-core@^7.0.0:
2028+
babel-core@^7.0.0-bridge:
20292029
version "7.0.0-bridge.0"
20302030
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-7.0.0-bridge.0.tgz#95a492ddd90f9b4e9a4a1da14eb335b87b634ece"
20312031
integrity sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==

0 commit comments

Comments
 (0)