Skip to content

Commit f46c7a9

Browse files
committed
ci: save cli cache
1 parent b88b5a2 commit f46c7a9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.circleci/config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@ jobs:
1717
# fallback to using the latest cache if no exact match is found
1818
- v1-dependencies-
1919
- run: npm install
20-
- save_cache:
21-
paths:
22-
- node_modules
23-
key: v1-dependencies-{{ checksum "package-lock.json" }}
2420
# run tests!
2521
- run: npm run build
2622
- run:
2723
name: Run Tests
2824
command: npm test
25+
- save_cache:
26+
paths:
27+
- node_modules
28+
- packages/cli
29+
key: v1-dependencies-{{ checksum "package-lock.json" }}
2930

3031
publish-job:
3132
docker:

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.2.6",
44
"description": "Create your TypeScript module with no nuild configuration",
55
"scripts": {
6-
"publish-cli": "./node_modules/.bin/semantic-release",
6+
"publish-cli": "semantic-release",
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"repository": {

0 commit comments

Comments
 (0)