Skip to content

Commit

Permalink
chore: initial semantic-release configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Sep 29, 2018
1 parent 6ebc5d4 commit d6cfb77
Show file tree
Hide file tree
Showing 4 changed files with 5,996 additions and 839 deletions.
31 changes: 22 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@ node_js:
- "lts/*"
- "node"

cache:
directories:
- ~/.npm

notifications:
email: false

script:
- npm run doc
- npm run flow
- npm run lint
- for example in examples/*.js; do node $example; done
after_success:
- npm run codecov

before_deploy:
Expand All @@ -26,6 +32,13 @@ deploy:
on:
branch: master
node_js: "lts/*"
- provider: script
skip_cleanup: true
script:
- npx semantic-release
on:
branch: master
node_js: "lts/*"
- provider: releases
skip-cleanup: true
file:
Expand All @@ -35,11 +48,11 @@ deploy:
on:
tags: true
node_js: "lts/*"
- provider: npm
skip-cleanup: true
email: $NPM_EMAIL_ADDRESS
api_key: $NPM_AUTH_TOKEN
on:
tags: true
node_js: "lts/*"

# - provider: npm
# skip-cleanup: true
# email: $NPM_EMAIL_ADDRESS
# api_key: $NPM_AUTH_TOKEN
# on:
# tags: true
# node_js: "lts/*"
#
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@

✨ Thanks for contributing to **solana-web3.js*! ✨

As a contributor, here are the guidelines we would like you to follow:
* Ensure `npm run ok` passes before submitting a Pull Request
* Please follow semantic-release [commit message guidelines](https://github.com/semantic-release/semantic-release/blob/caribou/CONTRIBUTING.md#commit-message-guidelines)

# Reference

## Static Analysis
eslint and flow-type are used.

Expand Down
Loading

0 comments on commit d6cfb77

Please sign in to comment.