fix: 升级 yarn 和 node

This commit is contained in:
Zhicheng WANG 2020-01-24 16:35:20 +08:00
parent 8663fa04a8
commit faaaec80b2

View File

@ -2,7 +2,7 @@ language: node_js
sudo: false sudo: false
dist: trusty dist: trusty
node_js: node_js:
- 10.9.0 - 10.13.0
addons: addons:
apt: apt:
sources: sources:
@ -20,7 +20,7 @@ cache:
- "./.chrome/chromium" - "./.chrome/chromium"
- "./aio/node_modules" - "./aio/node_modules"
before_install: before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0 - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.21.1
- export PATH="$HOME/.yarn/bin:$PATH" - export PATH="$HOME/.yarn/bin:$PATH"
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost & - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
script: script: