Skip to content

Commit

Permalink
chore(ci): Update circle ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpope committed Nov 22, 2019
1 parent e5fe85a commit f32048b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build_and_test:
docker:
# specify the version you desire here
- image: circleci/node:9.11.1
- image: circleci/node:10.15.2

working_directory: ~/repo

Expand All @@ -16,36 +16,36 @@ jobs:
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: npm install
- run: yarn

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# run tests!
- run: npm run test
- run: yarn test

semantic_release:
docker:
# specify the version you desire here
- image: circleci/node:9.11.1
- image: circleci/node:10.15.2
working_directory: ~/repo
steps:
- checkout

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

- run: npm install
- run: yarn

- save_cache:
paths:
Expand Down

0 comments on commit f32048b

Please sign in to comment.