18 lines
345 B
YAML
18 lines
345 B
YAML
|
language: node_js
|
||
|
cache:
|
||
|
directories:
|
||
|
- ~/.npm
|
||
|
notifications:
|
||
|
email: false
|
||
|
node_js:
|
||
|
- '14'
|
||
|
- '12'
|
||
|
- '10'
|
||
|
before_install:
|
||
|
- if [ "$TRAVIS_PULL_REQUEST_BRANCH" == "" ]; then echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> .npmrc; fi
|
||
|
after_success:
|
||
|
- npm run semantic-release
|
||
|
branches:
|
||
|
except:
|
||
|
- /^v\d+\.\d+\.\d+$/
|