Add comments to circleci config

This commit is contained in:
Luca Hagel 2018-01-29 03:08:30 +01:00
parent 975c74e305
commit 1d16ff6287

View file

@ -19,7 +19,9 @@ jobs:
working_directory: ~/app
steps:
# chackout the code from github
- checkout
# if certain cached files (packages, etc) are presetn, don't redownload them, restore the cached version
- restore_cache:
key: build-temp-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
- restore_cache:
@ -41,6 +43,7 @@ jobs:
else
echo "No cached Meteor bin found."
fi
# if there is no cached meteor version, install it
- run:
name: install Meteor
command: |
@ -67,11 +70,13 @@ jobs:
- run:
name: code linting
command: meteor yarn lint
# move meteor bin so it can be properly cached
- run:
name: copy meteor bin to build cache
command: |
mkdir -p ~/build-temp
cp /usr/local/bin/meteor ~/build-temp/meteor-bin
# cache meteor& npm packages
- save_cache:
key: build-temp-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
paths: