mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Stop clearing the npm cache unnecessarily before tests.
Based on this warning: npm ERR! As of npm@5, the npm cache self-heals from corruption issues and npm ERR! data extracted from the cache is guaranteed to be valid. If you npm ERR! want to make sure everything is consistent, use 'npm cache npm ERR! verify' instead. npm ERR! npm ERR! If you're sure you want to delete the entire cache, rerun this npm ERR! command with --force.
This commit is contained in:
@@ -35,9 +35,6 @@ if [ -z "$CIRCLE_NODE_TOTAL" ] || [ -z "$CIRCLE_NODE_INDEX" ]; then
|
||||
echo "Running all tests!"
|
||||
fi
|
||||
|
||||
# Clear dev_bundle/.npm to ensure consistent test runs.
|
||||
./meteor npm cache clear
|
||||
|
||||
# Since PhantomJS has been removed from dev_bundle/lib/node_modules
|
||||
# (#6905), but self-test still needs it, install it now.
|
||||
./meteor npm install -g phantomjs-prebuilt browserstack-webdriver
|
||||
|
||||
Reference in New Issue
Block a user