Skip to content

Commit 598489d

Browse files
committed
🔧 config(circilci): update
1 parent 1fc1589 commit 598489d

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.circleci/config.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,19 @@ jobs:
2121

2222
# Download and cache dependencies
2323
- restore_cache:
24+
name: Restore Yarn Package Cache
2425
keys:
25-
- v1-dependencies-{{ checksum "package.json" }}
26-
# fallback to using the latest cache if no exact match is found
27-
- v1-dependencies-
26+
- yarn-packages-{{ checksum "yarn.lock" }}
2827

29-
- run: yarn install
28+
- run:
29+
name: Install Dependencies
30+
command: yarn install --frozen-lockfile
3031

3132
- save_cache:
33+
name: Save Yarn Package Cache
34+
key: yarn-packages-{{ checksum "yarn.lock" }}
3235
paths:
33-
- node_modules
34-
key: v1-dependencies-{{ checksum "package.json" }}
36+
- ~/.cache/yarn
3537

3638
# run tests!
3739
- run: yarn lint

0 commit comments

Comments
 (0)