Skip to content

Commit d9132a2

Browse files
committed
refactor: changing yarn instead npm
1 parent 7d343af commit d9132a2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ cache:
33
directories:
44
- node_modules
55
node_js:
6-
- "12"
6+
- 12
77
notifications:
88
email:
99
recipients:
1010
1111
on_success: change
1212
on_failure: always
1313
install:
14-
- npm install
14+
- yarn
1515

1616
script:
17-
- npm run build
17+
- yarn build
1818
- git config --global user.name "Travis CI"
1919
- git config --global user.email "[email protected]"
2020
- export GIT_PUBLISH_URL=https://${GH_TOKEN}@github.com/wwayne/react-tooltip.git
21-
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run gh-pages -- --repo ${GIT_PUBLISH_URL}; fi
21+
- if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]; then yarn gh-pages -- --repo ${GIT_PUBLISH_URL}; fi
2222

2323
after_success:
24-
- npm run semantic-release
24+
- yarn semantic-release
2525

2626
branches:
2727
except:

0 commit comments

Comments
 (0)