Skip to content

Commit

Permalink
Fix CI job indentation and comment npm cache
Browse files Browse the repository at this point in the history
  • Loading branch information
pcowgill committed May 17, 2019
1 parent ec59ade commit 1c02705
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,61 +20,61 @@ jobs:
command: "sudo npm install -g npm@latest"

# Download and cache dependencies
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- dependency-cache-
# - restore_cache:
# keys:
# - dependency-cache-{{ checksum "package.json" }}
# # fallback to using the latest cache if no exact match is found
# - dependency-cache-

- run:
name: npm install
command: npm install

- save_cache:
paths:
- ./node_modules
key: dependency-cache-{{ checksum "package.json" }}
# - save_cache:
# paths:
# - ./node_modules
# key: dependency-cache-{{ checksum "package.json" }}

# run tests!
- run:
name: test
command: npm test

build_wallet_example:
docker:
# specify the version you desire here
- image: circleci/node:10.13

working_directory: ~/tasit/wallet-example

steps:
- checkout:
path: ~/tasit

- run:
name: update-npm
command: "sudo npm install -g npm@latest"

# Download and cache dependencies
- restore_cache:
keys:
- dependency-cache-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- dependency-cache-

- run:
name: npm install
command: npm install

- save_cache:
paths:
- ./node_modules
key: dependency-cache-{{ checksum "package.json" }}

# run tests!
- run:
name: test
command: npm test
build_wallet_example:
docker:
# specify the version you desire here
- image: circleci/node:10.13

working_directory: ~/tasit/wallet-example

steps:
- checkout:
path: ~/tasit

- run:
name: update-npm
command: "sudo npm install -g npm@latest"

# Download and cache dependencies
# - restore_cache:
# keys:
# - dependency-cache-{{ checksum "package.json" }}
# # fallback to using the latest cache if no exact match is found
# - dependency-cache-

- run:
name: npm install
command: npm install

# - save_cache:
# paths:
# - ./node_modules
# key: dependency-cache-{{ checksum "package.json" }}

# run tests!
- run:
name: test
command: npm test

workflows:
version: 2
Expand Down

0 comments on commit 1c02705

Please sign in to comment.