Skip to content

Commit 17eeee2

Browse files
committed
fix: Oops! Add node_mods back in for build step CI
1 parent c789217 commit 17eeee2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.circleci/config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,19 @@ jobs: # a collection of steps
4949
- run:
5050
name: Bump version and generate changelog
5151
command: npm run release:ci
52-
- save_cache: # special step to save the cache
53-
key: versioned-cache-{{ checksum "package-lock.json" }}
52+
- save_cache: # special step to save the changelog
53+
key: changelog-cache-{{ checksum "package-lock.json" }}
5454
paths:
55-
- ~/tmp/node_modules
5655
- ~/tmp/CHANGELOG.md
5756

5857
build: # build the project - requires dependencies to have been installed
5958
executor: node-project
6059
steps:
6160
- checkout
6261
- restore_cache:
63-
key: versioned-cache-{{ checksum "package-lock.json" }}
62+
key: dependency-cache-{{ checksum "package-lock.json" }}
63+
- restore_cache:
64+
key: changelog-cache-{{ checksum "package-lock.json" }}
6465
- run: # run build
6566
name: Build
6667
command: |

0 commit comments

Comments
 (0)