Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 6cea707

Browse files
authored
Merge pull request #83 from segmentio/eager-cache
save dependency cache immediately after install
2 parents 9f2772c + 320e397 commit 6cea707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ jobs:
55
- image: circleci/node:4-browsers
66
steps:
77
- checkout
8+
- run: npm config set "//registry.npmjs.org/:_authToken" $NPM_AUTH
89
- restore_cache:
910
key: dependency-cache-{{ checksum "package.json" }}
10-
- run: npm config set "//registry.npmjs.org/:_authToken" $NPM_AUTH
1111
- run: make install
12-
- run: make test
1312
- save_cache:
1413
key: dependency-cache-{{ checksum "package.json" }}
1514
paths:
1615
- node_modules
16+
- run: make test
1717
publish:
1818
docker:
1919
- image: circleci/node:4-browsers

0 commit comments

Comments
 (0)