diff --git a/.circleci/config.yml b/.circleci/config.yml index 91193656ec..c717e0ef7d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: