File tree 5 files changed +3178
-96
lines changed
5 files changed +3178
-96
lines changed Original file line number Diff line number Diff line change 31
31
at : ~/repo
32
32
- run :
33
33
name : ' Tests'
34
- command : npm run test
34
+ command : npm run test:ci
35
35
build-library :
36
36
docker :
37
37
- image : ' circleci/node:latest'
62
62
root : ~/repo
63
63
paths :
64
64
- docs
65
- deploy :
65
+ deploy-library :
66
66
docker :
67
67
- image : ' circleci/node:latest'
68
68
working_directory : ~/repo
73
73
- run :
74
74
name : ' Deploy via Semantic Release'
75
75
command : npm run semantic-release || true
76
+ deploy-storybook :
77
+ docker :
78
+ - image : ' circleci/node:latest'
79
+ working_directory : ~/repo
80
+ steps :
81
+ - checkout
82
+ - attach_workspace :
83
+ at : ~/repo
84
+ - run :
85
+ name : ' Deploy Storybook'
86
+ command : firebase deploy --token=$FIREBASE_TOKEN
76
87
workflows :
77
88
version : 2
78
89
build-and-deploy :
@@ -87,8 +98,15 @@ workflows:
87
98
- build-storybook :
88
99
requires :
89
100
- install
90
- - deploy :
101
+ - deploy-library :
91
102
requires :
92
103
- test
93
104
- build-library
94
105
- build-storybook
106
+ - deploy-storybook :
107
+ requires :
108
+ - deploy-library
109
+ filters :
110
+ branches :
111
+ only :
112
+ - beta
Original file line number Diff line number Diff line change
1
+ {
2
+ "projects": {
3
+ "default": "react95-storybook"
4
+ }
5
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "hosting" : {
3
+ "public" : " docs" ,
4
+ "ignore" : [
5
+ " firebase.json" ,
6
+ " **/.*" ,
7
+ " **/node_modules/**"
8
+ ],
9
+ "rewrites" : [
10
+ {
11
+ "source" : " **" ,
12
+ "destination" : " /index.html"
13
+ }
14
+ ]
15
+ }
16
+ }
You can’t perform that action at this time.
0 commit comments