Skip to content

Commit

Permalink
chore(build): Migrate to Circle CI 2 workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Feb 16, 2018
1 parent 8d4c2e8 commit 6b68340
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 26 deletions.
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 2
jobs:
test:
docker:
- image: circleci/node:latest-browsers
steps:
- checkout
- restore_cache:
key: yarn-cache
- run: yarn
- run: yarn run ci
- run: yarn run example:build:prod
- run: yarn run example:test --watch=false
- save_cache:
key: yarn-cache
paths:
- ~/.cache/yarn
- node_modules
deploy:
docker:
- image: circleci/node:latest-browsers
steps:
- run: yarn run deploy:builds
workflows:
version: 2
build-test-deploy:
jobs:
- test
- deploy:
requires:
- test
filters:
branches:
only: master
26 changes: 0 additions & 26 deletions circle.yml

This file was deleted.

0 comments on commit 6b68340

Please sign in to comment.