Skip to content

Commit f67f31f

Browse files
committed
Add greenkeeper-lockfile
Add `greenkeeper-lockfile` so _theoretically_ Greenkeeper will also keep the lockfile updated.
1 parent 6f77ad1 commit f67f31f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.circleci/config.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,26 @@ jobs:
2626
# fallback to using the latest cache if no exact match is found
2727
- v1-dependencies-
2828

29+
# Print some information
30+
- run: node --version
31+
- run: npm --version
32+
33+
# Install greenkeeper-lockfile
34+
- run: sudo npm install -g greenkeeper-lockfile@latest
35+
36+
# Install the dependencies
2937
- run: npm install
3038

39+
# Update the lockfile with greenkeeper
40+
- run: greenkeeper-lockfile-update
41+
3142
- save_cache:
3243
paths:
3344
- node_modules
3445
key: v1-dependencies-{{ checksum "package.json" }}
3546

3647
# run tests!
3748
- run: npm test
49+
50+
# Upload the lockfile
51+
- run: greenkeeper-lockfile-upload

0 commit comments

Comments
 (0)