Skip to content

Commit

Permalink
more extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Jan 17, 2018
1 parent a8df299 commit b601a6e
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ references:
filters:
tags:
only: /.*/

env: &env
docker:
- image: circleci/node:8.9.0
env-browsers: &env-browsers
docker:
- image: circleci/node:8.9.0-browsers

jobs:
checkout_code:
docker:
- image: circleci/node:8.9.0
<<: *env
steps:
- checkout
- run: npm install
Expand All @@ -21,26 +25,23 @@ jobs:
- node_modules

lint:
docker:
- image: circleci/node:8.9.0
<<: *env
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: make lint

nodefetch2:
docker:
- image: circleci/node:8.9.0
<<: *env
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: make coverage-report

nodefetch1:
docker:
- image: circleci/node:8.9.0
<<: *env
steps:
- checkout
- restore_cache:
Expand All @@ -49,17 +50,15 @@ jobs:
- run: make test-unit

chrome:
docker:
- image: circleci/node:8.9.0-browsers
<<: *env-browsers
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: make test-chrome

firefox:
docker:
- image: circleci/node:8.9.0-browsers
<<: *env-browsers
steps:
- checkout
- restore_cache:
Expand All @@ -68,8 +67,7 @@ jobs:
- run: make test-firefox

deploy:
docker:
- image: circleci/node:8.9.0
<<: *env
steps:
- checkout
- restore_cache:
Expand Down

0 comments on commit b601a6e

Please sign in to comment.