Skip to content

Commit

Permalink
feat: add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BelfordZ committed Mar 18, 2019
1 parent 94da498 commit 2216d45
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ jobs:
- 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
Expand All @@ -16,3 +24,18 @@ jobs:
- 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

0 comments on commit 2216d45

Please sign in to comment.