Skip to content

Commit

Permalink
Fix circle ci caches
Browse files Browse the repository at this point in the history
  • Loading branch information
mobileoverlord committed Jun 21, 2019
1 parent 1069d73 commit 9737ac6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,13 @@ jobs:
POSTGRES_USER: db
POSTGRES_DB: db
POSTGRES_PASSWORD: db

working_directory: ~/app

steps:
- checkout
- run: wget https://github.com/fhunleth/fwup/releases/download/v1.3.1/fwup_1.3.1_amd64.deb
- run: sudo dpkg -i ./fwup_1.3.1_amd64.deb
- run: mix local.hex --force
- run: mix local.rebar --force

- restore_cache:
keys:
- mix-deps-{{ .Branch }}-{{ checksum "mix.lock" }}
Expand All @@ -141,21 +138,14 @@ jobs:
- image: circleci/node:8.11.3
environment:
SRC_PATH: "js/**/*.js"

working_directory: ~/app/apps/nerves_hub_www/assets

steps:
- checkout:
path: ~/app

- restore_cache:
keys:
- node-modules-{{ checksum "yarn.lock" }}
- mix-deps-{{ .Branch }}-{{ checksum "../../../mix.lock" }}
- run: yarn install
- save_cache:
key: node-modules-{{ checksum "yarn.lock" }}
paths: "node_modules"
- run:
name: Verify formatting
command: yarn prettier -c $SRC_PATH
Expand Down

0 comments on commit 9737ac6

Please sign in to comment.