Skip to content

Commit

Permalink
fix(build): Update CircleCI config to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jontg committed Apr 18, 2018
1 parent c76288e commit d7d4aa9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 15 deletions.
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:8

working_directory: ~/repo

steps:
- checkout
- run: npm install
- run: npm run build:lib
- persist_to_workspace:
root: /home
paths: circleci

deploy:
docker:
- image: circleci/node:8
steps:
- attach_workspace:
at: /home
- run: npm run semantic-release || true

workflows:
version: 2
build-and-deploy:
jobs:
- build
- deploy:
requires:
- build
filters:
branches:
only:
- master
- next
15 changes: 0 additions & 15 deletions circle.yml

This file was deleted.

0 comments on commit d7d4aa9

Please sign in to comment.