File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 33
33
34
34
# run tests
35
35
- run : yarn test
36
+
37
+ publish :
38
+ docker :
39
+ # specify the version you desire here
40
+ - image : circleci/node:10.16
41
+
42
+ working_directory : ~/hypernova-vue
43
+
44
+ steps :
45
+ - checkout
46
+
47
+ # Download and cache dependencies
48
+ - restore_cache :
49
+ keys :
50
+ - v1-dependencies-{{ checksum "package.json" }}
51
+ # fallback to using the latest cache if no exact match is found
52
+ - v1-dependencies-
53
+
54
+ - run : yarn install
55
+
56
+ - save_cache :
57
+ paths :
58
+ - node_modules
59
+ key : v1-dependencies-{{ checksum "package.json" }}
60
+
61
+ # run linter
62
+ - run : yarn semantic-release -d
36
63
37
64
workflows :
38
65
version : 2
39
66
main :
40
67
jobs :
41
- - build
68
+ - build
69
+ - publish :
70
+ requires :
71
+ - build
72
+ filters :
73
+ branches :
74
+ only : master
You can’t perform that action at this time.
0 commit comments