File tree Expand file tree Collapse file tree 4 files changed +20544
-4
lines changed
packages/react-renderer-demo Expand file tree Collapse file tree 4 files changed +20544
-4
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
52
+ - store_artifacts :
53
+ when : on_fail
54
+ name : Uploading predeploy failure artifact to assist with debugging
55
+ path : /home/circleci/.npm/_logs/*.log
41
56
deploy :
42
57
working_directory : ~/react-forms
43
58
docker :
@@ -53,12 +68,20 @@ jobs:
53
68
name : Deploy demo
54
69
command : |
55
70
yarn --cwd packages/react-renderer-demo/ deploy --token=$FIREBASE_TOKEN
71
+ - save_cache :
72
+ key : dependency-cache-{{ checksum "yarn.lock" }}
73
+ paths :
74
+ - ~/react-forms/node_modules
75
+ - ~/react-forms/packages/react-renderer-demo/dist/functions/next/cache
56
76
57
77
workflows :
58
78
version : 2
59
79
build_and_deploy :
60
80
jobs :
61
81
- build
82
+ - predeploy :
83
+ requires :
84
+ - build
62
85
- release :
63
86
requires :
64
87
- build
@@ -68,6 +91,7 @@ workflows:
68
91
- deploy :
69
92
requires :
70
93
- build
94
+ - predeploy
71
95
filters :
72
96
branches :
73
97
only : master
Original file line number Diff line number Diff line change @@ -64,8 +64,6 @@ typings/
64
64
# next.js build output
65
65
.next
66
66
67
- yarn.lock
68
-
69
67
packages /react-renderer-demo /public /vendor.css
70
68
71
69
# Firebase
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