Skip to content

Commit

Permalink
Merge pull request #52 from open-rpc/feat/semantic-release
Browse files Browse the repository at this point in the history
feat: add semantic-release stuff
  • Loading branch information
BelfordZ authored Mar 18, 2019
2 parents 73d754d + 2216d45 commit 4a92ef5
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
36 changes: 34 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,41 @@
version: 2
jobs:
build:
test:
docker:
- image: circleci/node:10.11.0
- image: circleci/node:10
steps:
- checkout
- run: npm install
- run: npm test

build:
docker:
- image: circleci/node:10
steps:
- checkout
- run: npm install
- run: npm run build

release:
docker:
- image: circleci/node:10
steps:
- checkout
- run: npm install
- run: npm run build
- run: npx semantic-release

workflows:
version: 2
build_and_test:
jobs:
- test
- build
- hold:
type: approval
requires:
- test
- build
- release:
requires:
- hold
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
Collection of example OpenRPC service definition files

[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=open-rpc/examples)](https://dependabot.com)
[![CircleCI](https://circleci.com/gh/open-rpc/examples.svg?style=svg)](https://circleci.com/gh/open-rpc/examples)

0 comments on commit 4a92ef5

Please sign in to comment.