瀏覽代碼

Try to use yarn add and reset lock files.

Kamil Piechaczek 6 年之前
父節點
當前提交
588af5fffe
共有 1 個文件被更改,包括 2 次插入1 次删除
  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: