@@ -23,76 +23,76 @@ jobs:
2323 - checkout
2424
2525 - restore_cache :
26- key : build-temp-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
26+ key : build-temp-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
2727 - restore_cache :
28- key : meteor-release-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
28+ key : meteor-release-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
2929 - restore_cache :
30- name : Restore Meteor Package Cache
31- key : packages-cache-{{ checksum ".meteor/versions" }}
30+ name : Restore Meteor Package Cache
31+ key : packages-cache-{{ checksum ".meteor/versions" }}
3232 - restore_cache :
33- keys :
34- - v1-dependencies-{{ checksum "package.json" }}
35- # fallback to using the latest cache if no exact match is found
36- - v1-dependencies-
33+ keys :
34+ - v1-dependencies-{{ checksum "package.json" }}
35+ # fallback to using the latest cache if no exact match is found
36+ - v1-dependencies-
3737
3838 - run :
39- name : Create Settings File
40- command : echo $METEOR_SETTINGS > settings.json
39+ name : Create Settings File
40+ command : echo $METEOR_SETTINGS > settings.json
4141 - run :
42- name : Create Galaxy Token
43- command : echo $METEOR_TOKEN > token.json
42+ name : Create Galaxy Token
43+ command : echo $METEOR_TOKEN > token.json
4444
4545 - run :
46- name : restore cached meteor bin
47- command : |
48- if [ -e ~/build-temp/meteor-bin ]
49- then
50- echo "Cached Meteor bin found, restoring it"
51- sudo cp ~/build-temp/meteor-bin /usr/local/bin/meteor
52- else
53- echo "No cached Meteor bin found."
54- fi
46+ name : restore cached meteor bin
47+ command : |
48+ if [ -e ~/build-temp/meteor-bin ]
49+ then
50+ echo "Cached Meteor bin found, restoring it"
51+ sudo cp ~/build-temp/meteor-bin /usr/local/bin/meteor
52+ else
53+ echo "No cached Meteor bin found."
54+ fi
5555 - run :
56- name : install Meteor
57- command : |
58- # only install meteor if bin isn't found
59- command -v meteor >/dev/null 2>&1 || curl https://install.meteor.com | /bin/sh
56+ name : install Meteor
57+ command : |
58+ # only install meteor if bin isn't found
59+ command -v meteor >/dev/null 2>&1 || curl https://install.meteor.com | /bin/sh
6060 - run :
61- name : check versions
62- command : |
63- echo "Meteor version:"
64- # this forces Meteor to download whatever release your project is using
65- meteor --version
66- which meteor
67- echo "Meteor node version:"
68- meteor node -v
69- echo "Meteor npm version:"
70- meteor npm -v
61+ name : check versions
62+ command : |
63+ echo "Meteor version:"
64+ # this forces Meteor to download whatever release your project is using
65+ meteor --version
66+ which meteor
67+ echo "Meteor node version:"
68+ meteor node -v
69+ echo "Meteor npm version:"
70+ meteor npm -v
7171 - run :
72- name : install npm packages
73- command : meteor npm i
72+ name : install npm packages
73+ command : meteor npm i
7474 - run :
75- name : copy meteor bin to build cache
76- command : |
77- mkdir -p ~/build-temp
78- cp /usr/local/bin/meteor ~/build-temp/meteor-bin
75+ name : copy meteor bin to build cache
76+ command : |
77+ mkdir -p ~/build-temp
78+ cp /usr/local/bin/meteor ~/build-temp/meteor-bin
7979
8080 - save_cache :
8181 paths :
8282 - node_modules
8383 key : v1-dependencies-{{ checksum "package.json" }}
8484 - save_cache :
85- key : packages-cache-{{ checksum ".meteor/versions" }}
86- paths :
87- - .meteor/local/
85+ key : packages-cache-{{ checksum ".meteor/versions" }}
86+ paths :
87+ - .meteor/local/
8888 - save_cache :
89- key : build-temp-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
90- paths :
91- - ~/build-temp
89+ key : build-temp-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
90+ paths :
91+ - ~/build-temp
9292 - save_cache :
93- key : meteor-release-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
94- paths :
95- - ~/.meteor
93+ key : meteor-release-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
94+ paths :
95+ - ~/.meteor
9696
9797
9898 # run tests!
0 commit comments