You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
421 B
29 lines
421 B
dist: xenial
|
|
language: node_js
|
|
node_js:
|
|
- '11'
|
|
|
|
# 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
|