Skip to content

Commit d6cfb77

Browse files
committed
chore: initial semantic-release configuration
1 parent 6ebc5d4 commit d6cfb77

File tree

4 files changed

+5996
-839
lines changed

4 files changed

+5996
-839
lines changed

.travis.yml

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@ node_js:
33
- "lts/*"
44
- "node"
55

6+
cache:
7+
directories:
8+
- ~/.npm
9+
10+
notifications:
11+
email: false
12+
613
script:
714
- npm run doc
815
- npm run flow
916
- npm run lint
1017
- for example in examples/*.js; do node $example; done
11-
after_success:
1218
- npm run codecov
1319

1420
before_deploy:
@@ -26,6 +32,13 @@ deploy:
2632
on:
2733
branch: master
2834
node_js: "lts/*"
35+
- provider: script
36+
skip_cleanup: true
37+
script:
38+
- npx semantic-release
39+
on:
40+
branch: master
41+
node_js: "lts/*"
2942
- provider: releases
3043
skip-cleanup: true
3144
file:
@@ -35,11 +48,11 @@ deploy:
3548
on:
3649
tags: true
3750
node_js: "lts/*"
38-
- provider: npm
39-
skip-cleanup: true
40-
email: $NPM_EMAIL_ADDRESS
41-
api_key: $NPM_AUTH_TOKEN
42-
on:
43-
tags: true
44-
node_js: "lts/*"
45-
51+
# - provider: npm
52+
# skip-cleanup: true
53+
# email: $NPM_EMAIL_ADDRESS
54+
# api_key: $NPM_AUTH_TOKEN
55+
# on:
56+
# tags: true
57+
# node_js: "lts/*"
58+
#

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11

2+
✨ Thanks for contributing to **solana-web3.js*! ✨
3+
4+
As a contributor, here are the guidelines we would like you to follow:
5+
* Ensure `npm run ok` passes before submitting a Pull Request
6+
* Please follow semantic-release [commit message guidelines](https://github.com/semantic-release/semantic-release/blob/caribou/CONTRIBUTING.md#commit-message-guidelines)
7+
8+
# Reference
9+
210
## Static Analysis
311
eslint and flow-type are used.
412

0 commit comments

Comments
 (0)