Skip to content

Commit

Permalink
feat: initial implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
wms committed Sep 5, 2018
1 parent 2e5fce4 commit a33ceb3
Show file tree
Hide file tree
Showing 20 changed files with 12,620 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: 2

jobs:
build:
docker:
- image: circleci/node:carbon
steps:
- checkout
- run: npm install
- run: npm run test
- run: npm run lint
- run: npm run build

publish:
docker:
- image: circleci/node:carbon
steps:
- checkout
- run: npm install
- run: npm run build
- run: $(npm bin)/semantic-release

workflows:
version: 2
build_and_publish:
jobs:
- build:
filters:
tags:
ignore: /.*/

- publish:
requires:
- build
filters:
branches:
only: master
tags:
ignore: /.*/
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@ typings/

# next.js build output
.next

dist
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.env
.circleci

src
dist/*.spec.js
tsconfig.json
tslint.json
2 changes: 2 additions & 0 deletions bin/branch-officer
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require('../dist/index.js')
Loading

0 comments on commit a33ceb3

Please sign in to comment.