File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -47,15 +47,20 @@ jobs: # a collection of steps
47
47
git config --global user.email "ripixel+ci@gmail.com"
48
48
git config --global user.name "CircleCi"
49
49
- run :
50
- name : Standard version
50
+ name : Bump version and generate changelog
51
51
command : npm run release:ci
52
+ - save_cache : # special step to save the cache
53
+ key : versioned-cache-{{ checksum "package-lock.json" }}
54
+ paths :
55
+ - ~/tmp/node_modules
56
+ - ~/tmp/CHANGELOG.md
52
57
53
58
build : # build the project - requires dependencies to have been installed
54
59
executor : node-project
55
60
steps :
56
61
- checkout
57
62
- restore_cache :
58
- key : dependency -cache-{{ checksum "package-lock.json" }}
63
+ key : versioned -cache-{{ checksum "package-lock.json" }}
59
64
- run : # run build
60
65
name : Build
61
66
command : |
You can’t perform that action at this time.
0 commit comments