Skip to content

Commit 4582cfc

Browse files
committed
fix: no more cache during CIrcleCI Build
1 parent 15335c7 commit 4582cfc

File tree

1 file changed

+1
-25
lines changed

1 file changed

+1
-25
lines changed

.circleci/config.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,50 +10,26 @@ jobs:
1010
working_directory: ~/repo
1111
steps:
1212
- checkout
13-
# Download and cache dependencies
14-
- restore_cache:
15-
keys:
16-
- v1-dependencies-{{ checksum "package-lock.json" }}
17-
# fallback to using the latest cache if no exact match is found
18-
- v1-dependencies-
1913
- run: npm install
2014
- run: npm run build
2115
- run: npm test
22-
- save_cache:
23-
paths:
24-
- node_modules
25-
key: v1-dependencies-{{ checksum "package-lock.json" }}
2616
test-job-10:
2717
docker:
2818
- image: circleci/node:10-browsers
2919
working_directory: ~/repo
3020
steps:
3121
- checkout
32-
# Download and cache dependencies
33-
- restore_cache:
34-
keys:
35-
- v1-dependencies-{{ checksum "package-lock.json" }}
36-
# fallback to using the latest cache if no exact match is found
37-
- v1-dependencies-
3822
- run: npm install
3923
- run: npm run build
4024
- run: npm test
41-
- save_cache:
42-
paths:
43-
- node_modules
44-
key: v1-dependencies-{{ checksum "package-lock.json" }}
4525

4626
publish-job:
4727
docker:
4828
- image: circleci/node:10
4929
working_directory: ~/repo
5030
steps:
5131
- checkout
52-
- restore_cache:
53-
keys:
54-
- v1-dependencies-{{ checksum "package-lock.json" }}
55-
# fallback to using the latest cache if no exact match is found
56-
- v1-dependencies-
32+
- run: npm install
5733
- run:
5834
name: Pre-Publish Script
5935
command: ./tools/publish.sh

0 commit comments

Comments
 (0)