fix: rm -rf only node_modules

This commit is contained in:
Yanyan-Wang 2020-03-10 11:58:44 +08:00 committed by Yanyan Wang
parent 14ca53a186
commit 49ece50f42

View File

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