File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "branch": "master",
3
+ "publish": [
4
+ "@semantic-release/npm",
5
+ {
6
+ "path": "@semantic-release/github",
7
+ "assets": [
8
+ {"path": "dist/watson.js"},
9
+ {"path": "dist/watson.min.js"}
10
+ ]
11
+ }
12
+ ]
13
+ }
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ before_install:
8
8
- ' [ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_320e4a7e27b3_key
9
9
-iv $encrypted_320e4a7e27b3_iv -in auth.js.enc -out test/resources/auth.js -d ||
10
10
true'
11
+ - npm install npm@latest -g
11
12
- npm install -g typescript
12
13
script :
13
14
- tsc
@@ -17,3 +18,7 @@ script:
17
18
after_success :
18
19
- npm run report-coverage
19
20
- scripts/jsdoc/publish.sh
21
+ deploy :
22
+ - provider : script
23
+ skip_cleanup : true
24
+ script : npx travis-deploy-once "npx semantic-release"
You can’t perform that action at this time.
0 commit comments