mirror of
https://github.com/vale981/Vulcan
synced 2025-03-04 09:11:43 -05:00
Add comments to circleci config
This commit is contained in:
parent
975c74e305
commit
1d16ff6287
1 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue