.travis.yml 349 B

123456789101112131415161718192021
  1. language: node_js
  2. node_js:
  3. - "12.10"
  4. dist: trusty
  5. sudo: required
  6. cache:
  7. directories:
  8. - node_modules
  9. before_script:
  10. - npm install
  11. script:
  12. - npm run lint
  13. - npm run build:gh-pages
  14. deploy:
  15. provider: pages
  16. skip_cleanup: true
  17. github_token: $GITHUB_TOKEN
  18. keep_history: true
  19. local_dir: dist/evt-viewer-angular/
  20. on:
  21. branch: master