UNPKG

411 BYAMLView Raw
1language: node_js
2sudo: false
3node_js:
4- '10'
5install:
6- npm install
7- pip install --user awscli
8script:
9- npm run build
10after_success:
11- if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "release" ]]; then
12 npm run rebuild-docker-image;
13 npm config set //registry.npmjs.org/:_authToken="$NPM_TOKEN";
14 npm publish;
15 fi
16notifications:
17 email:
18 on_success: never
19 on_failure: always