mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 09:31: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
|
working_directory: ~/app
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# chackout the code from github
|
||||||
- checkout
|
- checkout
|
||||||
|
# if certain cached files (packages, etc) are presetn, don't redownload them, restore the cached version
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: build-temp-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
|
key: build-temp-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
|
@ -41,6 +43,7 @@ jobs:
|
||||||
else
|
else
|
||||||
echo "No cached Meteor bin found."
|
echo "No cached Meteor bin found."
|
||||||
fi
|
fi
|
||||||
|
# if there is no cached meteor version, install it
|
||||||
- run:
|
- run:
|
||||||
name: install Meteor
|
name: install Meteor
|
||||||
command: |
|
command: |
|
||||||
|
@ -67,11 +70,13 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: code linting
|
name: code linting
|
||||||
command: meteor yarn lint
|
command: meteor yarn lint
|
||||||
|
# move meteor bin so it can be properly cached
|
||||||
- run:
|
- run:
|
||||||
name: copy meteor bin to build cache
|
name: copy meteor bin to build cache
|
||||||
command: |
|
command: |
|
||||||
mkdir -p ~/build-temp
|
mkdir -p ~/build-temp
|
||||||
cp /usr/local/bin/meteor ~/build-temp/meteor-bin
|
cp /usr/local/bin/meteor ~/build-temp/meteor-bin
|
||||||
|
# cache meteor& npm packages
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: build-temp-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
|
key: build-temp-{{ checksum ".meteor/release" }}-{{ checksum ".circleci/config.yml" }}
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Add table
Reference in a new issue