Skip to content

Commit

Permalink
chore: update circle config.yml to 2.0 (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
adampash authored Oct 12, 2018
1 parent 5663660 commit 0c15e9a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 34 deletions.
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: 2
jobs:
test-node:
docker:
- image: circleci/node:6.14-stretch
steps:
- checkout
- run: "yarn install"
- run: "yarn lint:ci"
- run: "yarn build"
- run: "yarn test:node -- --maxWorkers=4"
test-web:
docker:
- image: circleci/node:6.14-stretch
steps:
- checkout
- run: "yarn install"
# For some reason phantomjs-prebuild is failing w/yarn, but npm installing works
- run: "npm install phantomjs-prebuilt"
# Switch to 7 and lint
- run: "yarn test:web -- --maxWorkers=4"
- run: "yarn build:web -- --maxWorkers=4"


workflows:
version: 2
build_and_test:
jobs:
- test-node
- test-web
34 changes: 0 additions & 34 deletions circle.yml

This file was deleted.

0 comments on commit 0c15e9a

Please sign in to comment.