File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
packages/react-renderer-demo Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 38
38
command : |
39
39
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/react-forms/.npmrc
40
40
yarn release
41
+ predeploy :
42
+ working_directory : ~/react-forms
43
+ docker :
44
+ - image : circleci/node:10
45
+ steps :
46
+ - attach_workspace :
47
+ at : ~/react-forms
48
+ - run :
49
+ name : Predeploy demo
50
+ command : |
51
+ yarn --cwd packages/react-renderer-demo/ predeploy
41
52
deploy :
42
53
working_directory : ~/react-forms
43
54
docker :
@@ -53,12 +64,20 @@ jobs:
53
64
name : Deploy demo
54
65
command : |
55
66
yarn --cwd packages/react-renderer-demo/ deploy --token=$FIREBASE_TOKEN
67
+ - save_cache :
68
+ key : dependency-cache-{{ checksum "yarn.lock" }}
69
+ paths :
70
+ - ~/react-forms/node_modules
71
+ - ~/react-forms/packages/react-renderer-demo/dist/functions/next/cache
56
72
57
73
workflows :
58
74
version : 2
59
75
build_and_deploy :
60
76
jobs :
61
77
- build
78
+ - predeploy :
79
+ requires :
80
+ - build
62
81
- release :
63
82
requires :
64
83
- build
@@ -68,6 +87,7 @@ workflows:
68
87
- deploy :
69
88
requires :
70
89
- build
90
+ - predeploy
71
91
filters :
72
92
branches :
73
93
only : master
Original file line number Diff line number Diff line change 29
29
"@material-ui/styles" : " ^4.5.2" ,
30
30
"@mdx-js/loader" : " ^1.4.5" ,
31
31
"@mdx-js/react" : " ^1.4.5" ,
32
- "@next/mdx" : " ^9.0.5 " ,
32
+ "@next/mdx" : " ^9.1.2 " ,
33
33
"@patternfly/patternfly-next" : " ^1.0.175" ,
34
34
"@patternfly/react-core" : " ~3.16.10" ,
35
35
"@patternfly/react-tokens" : " ^2.5.1" ,
38
38
"firebase-admin" : " ^8.5.0" ,
39
39
"firebase-functions" : " ^2.1.0" ,
40
40
"grpc" : " ^1.22.2" ,
41
- "next" : " ^9.0.5 " ,
41
+ "next" : " 9.1.2 " ,
42
42
"patternfly-react" : " ^2.25.1" ,
43
43
"prop-types" : " ^15.6.2" ,
44
44
"raw-loader" : " ^3.1.0" ,
You can’t perform that action at this time.
0 commit comments