File tree Expand file tree Collapse file tree 2 files changed +45
-41
lines changed
Expand file tree Collapse file tree 2 files changed +45
-41
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+ executors :
3+ node :
4+ docker :
5+ - image : circleci/node:10
6+
7+ commands :
8+ checkout_and_install_dependencies :
9+ description : " Checkout code and install dependencies from cache"
10+ steps :
11+ - checkout :
12+ name : Checkout code
13+ - restore_cache :
14+ name : Restore yarn package cache
15+ keys :
16+ - yarn-packages-{{ checksum "yarn.lock" }}
17+ - run :
18+ name : Install Meteor
19+ command : meteor || curl https://install.meteor.com | /bin/sh
20+ - run :
21+ name : Install dependencies
22+ command : yarn install --frozen-lockfile
23+
24+ jobs :
25+ lint_and_test :
26+ executor : node
27+ steps :
28+ - checkout_and_install_dependencies
29+ - run :
30+ name : Lint
31+ command : yarn lint
32+ - run :
33+ name : Run tests
34+ command : yarn test
35+ - save_cache :
36+ name : Save yarn package cache
37+ key : yarn-packages-{{ checksum "yarn.lock" }}
38+ paths :
39+ - ~/.cache/yarn
40+
41+ workflows :
42+ version : 2.1
43+ build_and_deploy :
44+ jobs :
45+ - lint_and_test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments