ci: Fix CircleCI.

This commit is contained in:
Dylan Vann 2018-12-30 20:07:20 -05:00
parent 7f73ab7935
commit 069aa02f32
1 changed files with 14 additions and 14 deletions

View File

@ -1,6 +1,6 @@
version: 2
jobs:
build_and_test:
build-and-test:
docker:
- image: 'circleci/node:latest'
steps:
@ -24,28 +24,28 @@ jobs:
- ~/.cache/yarn
key: yarn-v1-{{ .Branch }}-{{ checksum "yarn.lock" }}
- persist_to_workspace:
root: .
paths:
- project
root: .
paths:
- project
release:
docker:
- image: 'circleci/node:latest'
steps:
- checkout
- attach_workspace:
at: .
at: .
- run:
name: Release
command: yarn semantic-release
name: Release
command: yarn semantic-release
workflows:
version: 2
build_test_publish:
build-test-publish:
jobs:
- build_and_test
- build-and-test
- release:
branches:
only:
- master
requires:
- build_and_test
branches:
only:
- master
requires:
- build_and_test