2019-04-29 11:49:55 +02:00
|
|
|
dist: xenial
|
2018-12-04 14:38:27 +01:00
|
|
|
language: node_js
|
2019-04-29 11:49:55 +02:00
|
|
|
node_js:
|
|
|
|
- '11'
|
2018-12-04 14:38:27 +01:00
|
|
|
|
|
|
|
# will run `npm install` automatically here
|
|
|
|
|
|
|
|
script:
|
|
|
|
- npm test
|
|
|
|
- npm run build
|
|
|
|
|
|
|
|
before_deploy:
|
|
|
|
- pip install --user awscli
|
|
|
|
- export PATH=$PATH:$HOME/.local/bin
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
provider: script
|
|
|
|
script: npm run deploy
|
|
|
|
on:
|
|
|
|
branch: master
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|