File tree 3 files changed +23
-4
lines changed
3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 9
9
# Download and cache dependencies
10
10
- restore_cache :
11
11
keys :
12
- - v1-dependencies-{{ checksum "package.json" }}
13
- # fallback to using the latest cache if no exact match is found
14
- - v1-dependencies-
12
+ - v1-dependencies-{{ checksum "package.json" }}
13
+ # fallback to using the latest cache if no exact match is found
14
+ - v1-dependencies-
15
15
- run : npm i
16
16
- save_cache :
17
17
paths :
24
24
- persist_to_workspace :
25
25
root : ~/repo
26
26
paths : .
27
+ release :
28
+ docker :
29
+ - image : circleci/node:10.16.3
30
+ steps :
31
+ - checkout
32
+ - run : npm install
33
+ - run : npm run build
34
+ - run : npx semantic-release
35
+
36
+ workflows :
37
+ version : 2
38
+ test_and_release :
39
+ # Run the test jobs first, then the release only when all the test jobs are successful
40
+ jobs :
41
+ - build
42
+ - release :
43
+ requires :
44
+ - build
Original file line number Diff line number Diff line change 1
- module . exports = { extends : [ '@commitlint/config-conventional' ] }
1
+ module . exports = { extends : [ '@commitlint/config-conventional' ] } ;
Original file line number Diff line number Diff line change 84
84
"rollup-plugin-commonjs" : " 10.1.0" ,
85
85
"rollup-plugin-node-resolve" : " 5.2.0" ,
86
86
"rollup-plugin-terser" : " 5.1.2" ,
87
+ "semantic-release" : " ^15.13.24" ,
87
88
"yargs" : " 14.0.0"
88
89
},
89
90
"peerDependencies" : {
You can’t perform that action at this time.
0 commit comments