2016-05-25 21:56:43 +03:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2018-08-24 08:47:53 +03:00
|
|
|
- 8
|
2017-07-08 02:12:17 +03:00
|
|
|
|
2017-08-04 00:55:48 +03:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
# github
|
|
|
|
- secure: "J+1oWjvvXjyrwkY/4IFWKdN/weFmQcPwlRuFG4R0Gb3rYe4nqtC9l68sJvmS8asc8dQMhOhcUZCH6sjvo7l2WD4NuK4umPSbs+rJNUsfbvH4pZjStQIj/3ll1OfQelGDWAYQWhIfciYY4F3Bp0ZWTfKOppLQ2AVIYu1fPVXDdlo="
|
2017-11-10 03:46:12 +03:00
|
|
|
# github changelog
|
|
|
|
- secure: "KcGydAqL7ryDh2rTJJB4wU8NE5BRtnrRXDEcPBScSscO3zFsHXHBDvvO04B/9hFVatXzGYXmkn+FZ0P9QikhvebzdwwyqUG2SKFiHhMvbX0m0WtAhn5NqDuKU1r5qy5YQ18r/tiLfC9GSAlEpfLAH58pwpcn8srV3Mn/yKvlrfs="
|
2017-07-27 23:23:12 +03:00
|
|
|
|
2017-07-11 01:31:41 +03:00
|
|
|
script:
|
2017-07-13 02:21:30 +03:00
|
|
|
- npm test
|
2018-08-02 21:14:48 +03:00
|
|
|
- script/check-versions
|
2017-07-08 02:12:17 +03:00
|
|
|
|
2019-01-24 02:33:58 +03:00
|
|
|
after_script:
|
|
|
|
- echo "generating selector diff report..."
|
|
|
|
- script/selector-diff-report
|
|
|
|
|
2019-01-04 22:35:33 +03:00
|
|
|
before_deploy:
|
2017-08-04 01:50:12 +03:00
|
|
|
# this will short-circuit the publish step if it fails to interpolate $NPM_API_KEY
|
|
|
|
- npm config set "//registry.npmjs.org/:_authToken=\${NPM_API_KEY}"
|
2017-11-09 20:41:18 +03:00
|
|
|
# copy the CHANGELOG.md primer for publishing
|
|
|
|
- cp CHANGELOG.md modules/primer
|
2017-07-27 23:23:12 +03:00
|
|
|
|
|
|
|
deploy:
|
2019-01-08 00:27:02 +03:00
|
|
|
# publish canary releases on all branches *except* master and release-*
|
2019-01-04 22:30:57 +03:00
|
|
|
- provider: script
|
2019-01-08 00:48:45 +03:00
|
|
|
script: script/deploy --yes
|
2018-12-22 01:39:20 +03:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
all_branches: true
|
|
|
|
tags: false
|
|
|
|
|
2017-07-22 01:55:51 +03:00
|
|
|
notifications:
|
|
|
|
slack:
|
|
|
|
secure: W9lPRuuPMNwElkXZ8UZtu5phgUNleDCK0PgERa28dkh5b0Y9xzRpIQPRJfqVYAPtnMVXhfYcqryMzA4oj0E4fc7OxQsKmMeF1OcTuj5N4CM5xXR/qXDehOUTp6fpCToIX9d4hZ2H///PCExpul3TcfxYJe6EWQCHYd1n6zKRl8g=
|