Last active
October 23, 2018 09:56
-
-
Save keidrun/b3857df0a531b8134cb0072da5d4fb2f to your computer and use it in GitHub Desktop.
Travis CI settings for NPM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| language: node_js | |
| node_js: | |
| - "10" | |
| before_deploy: | |
| - yarn build | |
| deploy: | |
| provider: npm | |
| email: "$NPM_EMAIL" | |
| api_key: "$NPM_TOKEN" | |
| skip_cleanup: true | |
| on: | |
| tags: true | |
| after_deploy: | |
| - test ! -e /home/travis/.npm/_logs ; TRAVIS_TEST_RESULT=$? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| language: node_js | |
| node_js: | |
| - "10" | |
| deploy: | |
| provider: npm | |
| email: "$NPM_EMAIL" | |
| api_key: "$NPM_TOKEN" | |
| on: | |
| tags: true | |
| after_deploy: | |
| - test ! -e /home/travis/.npm/_logs ; TRAVIS_TEST_RESULT=$? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment