fix: remove rm -rf node_modules online

This commit is contained in:
Yanyan-Wang 2020-03-17 17:41:22 +08:00 committed by Yanyan Wang
parent bc94abe920
commit a6ad533c1e

View File

@ -15,7 +15,7 @@ addons:
install: install:
- export DISPLAY=':99.0' - export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- rm -rf node_modules npm install - npm install
script: script:
- npm run ci && cat ./coverage/lcov.info | rm -rf ./coverage - npm run ci && cat ./coverage/lcov.info | rm -rf ./coverage