Clear npm cache before running --get-ready.

This commit is contained in:
Ben Newman
2018-04-24 11:07:41 -04:00
parent 1e8846d155
commit 898fb692ce

View File

@@ -126,6 +126,10 @@ jobs:
command: |
sudo mkdir -p ./tmp/results/junit
sudo chmod a+rwx ./tmp/results/junit
# Clear dev_bundle/.npm to ensure consistent test runs.
- run:
name: Clear npm cache
command: ./meteor npm cache clear --force
- run:
name: Get Ready
command: |
@@ -133,10 +137,6 @@ jobs:
./meteor --get-ready
# shouldn't take longer than 20 minutes
no_output_timeout: 20m
# Clear dev_bundle/.npm to ensure consistent test runs.
- run:
name: Clear npm cache
command: ./meteor npm cache clear --force
- run:
<<: *run_save_node_bin
- persist_to_workspace: