Browse Source

Try to use yarn add and reset lock files.

Kamil Piechaczek 6 years ago
parent
commit
588af5fffe
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .travis.yml

+ 2 - 1
.travis.yml

@@ -18,8 +18,9 @@ before_install:
 - sh -e /etc/init.d/xvfb start
 - npm i -g yarn
 install:
-- npm i mgit2 --no-save
+- yarn add mgit2 --ignore-workspace-root-check
 - mgit sync --resolver-url-template="https://github.com/\${ path }.git"
+- git checkout package.json yarn.lock
 - rm -rf node_modules
 - yarn install
 script: