-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added circleci and semantic-release
- Loading branch information
Adam Grohs
authored and
Adam Grohs
committed
Apr 13, 2019
1 parent
3782bd2
commit 5d2cd01
Showing
9 changed files
with
14,083 additions
and
1,887 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: 'circleci/node:latest' | ||
steps: | ||
- checkout | ||
- run: yarn clean-install | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: sync-shippo-to-moltin-{{ checksum "package.json" }} | ||
test: | ||
docker: | ||
- image: 'circleci/node:latest' | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- sync-shippo-to-moltin-{{ checksum "package.json" }} | ||
- run: yarn clean-install | ||
- run: yarn test | ||
release: | ||
docker: | ||
- image: 'circleci/node:latest' | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- sync-shippo-to-moltin-{{ checksum "package.json" }} | ||
- run: yarn clean-install | ||
- run: npx semantic-release | ||
workflows: | ||
version: 2 | ||
build_test_release: | ||
jobs: | ||
- build | ||
- test: | ||
requires: | ||
- build | ||
- release: | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
requires: | ||
- test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.test.* | ||
*.spec.* | ||
/__tests__/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.