-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f817fca
commit cfb18db
Showing
4 changed files
with
7,627 additions
and
1,038 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,72 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/node:10.2-stretch | ||
|
||
working_directory: ~/repo | ||
|
||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package-lock.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: | ||
name: Install packages | ||
command: npm install | ||
|
||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package-lock.json" }} | ||
|
||
# run tests! | ||
- run: | ||
name: Run tests | ||
command: npm run test | ||
release: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/node:10.2-stretch | ||
|
||
working_directory: ~/repo | ||
|
||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package-lock.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: | ||
name: Install packages | ||
command: npm install | ||
|
||
# Compile contracts! | ||
- run: | ||
name: Compile contracts | ||
command: npm run compile | ||
|
||
- run: | ||
name: Semantic release | ||
command: npm run semantic-release | ||
|
||
workflows: | ||
version: 2 | ||
test-build-release: | ||
jobs: | ||
- build | ||
- release: | ||
requires: | ||
- build | ||
filters: | ||
branches: | ||
only: | ||
- master |
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,5 @@ | ||
migrations | ||
test | ||
zos.* | ||
scripts | ||
flow-typed |
Oops, something went wrong.