File tree Expand file tree Collapse file tree 2 files changed +49
-40
lines changed Expand file tree Collapse file tree 2 files changed +49
-40
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ build :
4
+
5
+ docker :
6
+ - image : circleci/node:8
7
+
8
+ environment :
9
+ TZ : /usr/share/zoneinfo/America/Los_Angeles
10
+ YARN_VERSION : 1.2.1
11
+ TRAVIS_REPO_SLUG : facebook/react
12
+
13
+ parallelism : 4
14
+
15
+ steps :
16
+ - checkout
17
+
18
+ - run : echo $CIRCLE_COMPARE_URL | cut -d/ -f7
19
+
20
+ - run :
21
+ name : Install Yarn
22
+ command : |
23
+ if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
24
+ curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
25
+ fi
26
+
27
+ - restore_cache :
28
+ key : node-modules-{{ checksum "yarn.lock" }}
29
+
30
+ - run :
31
+ name : Nodejs Version
32
+ command : node --version
33
+
34
+ - run :
35
+ name : Install Packages
36
+ command : yarn install
37
+
38
+ - run :
39
+ name : Test Packages
40
+ command : ./scripts/circleci/test_entry_point.sh
41
+
42
+ - save_cache :
43
+ key : node-modules-{{ checksum "yarn.lock" }}
44
+ paths :
45
+ - node_modules
46
+
47
+ - deploy :
48
+ name : Upload Build
49
+ command : ./scripts/circleci/upload_build.sh
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments