Skip to content
Permalink
Browse files

Add caching to CircleCI

  • Loading branch information...
adrw committed Jun 5, 2019
1 parent 77f8317 commit 66064093d21b1e5f5ffe465509b7e4a96e022fde
Showing with 10 additions and 0 deletions.
  1. +10 −0 .circleci/config.yml
@@ -9,9 +9,19 @@ jobs:
- run:
name: Installing jhead...
command: sudo apt-get update && sudo apt-get install -y jhead
# Download and cache dependencies
- restore_cache:
keys:
- jheadx-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- jheadx-dependencies-
- run:
name: Installing...
command: npm install
- save_cache:
paths:
- node_modules
key: jheadx-dependencies-{{ checksum "package.json" }}
- run:
name: Building...
command: npm run build

0 comments on commit 6606409

Please sign in to comment.
You can’t perform that action at this time.