Skip to content

Commit 81ca8f9

Browse files
committed
fix(build): enabled semantic release
1 parent de1ce7c commit 81ca8f9

File tree

3 files changed

+297
-740
lines changed

3 files changed

+297
-740
lines changed

.travis.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ node_js:
99
- 16
1010
- 18
1111

12+
branches:
13+
only:
14+
- main
15+
1216
# After creating your SDK project from this template repository,
1317
# remove the "echo" command from the "before_install" section below.
1418
before_install:
15-
- echo -e "machine github.ibm.com\n login $GITHUB_OAUTH_TOKEN" > ~/.netrc
1619
- npm i -g npm@8
1720
- npm --version
1821

@@ -22,11 +25,10 @@ script:
2225
- npm run lint
2326
- npm run check-packages
2427

25-
# To enable semantic-release, uncomment this section.
26-
# deploy:
27-
# - provider: script
28-
# skip_cleanup: true
29-
# script: npx semantic-release
30-
# on:
31-
# node: 14
32-
# branch: main
28+
deploy:
29+
- provider: script
30+
skip_cleanup: true
31+
script: npx semantic-release
32+
on:
33+
node: 18
34+
branch: main

0 commit comments

Comments
 (0)