Skip to content

Commit

Permalink
Merge pull request #28 from robcresswell/chore/setup-semantic-release
Browse files Browse the repository at this point in the history
chore: set up semantic-release
  • Loading branch information
robcresswell authored Jun 24, 2019
2 parents 1c80994 + 2b9ab09 commit b65fd9c
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
jobs:
build:
test:
working_directory: ~/dems
docker:
- image: node:12-stretch-slim
Expand All @@ -19,3 +19,22 @@ jobs:
path: coverage
- store_test_results:
path: coverage
release:
working_directory: ~/dems
docker:
- image: node:12-stretch-slim
steps:
- checkout
- run:
command: apt update && apt install -y git
- run: yarn --frozen-lockfile
- run: yarn build
- run: npx semantic-release
workflows:
version: 2
test_and_release:
jobs:
- test
- release:
requires:
- test

0 comments on commit b65fd9c

Please sign in to comment.