Skip to content

Instantly share code, notes, and snippets.

@brookslyrette
Created October 14, 2017 12:22
Show Gist options
  • Select an option

  • Save brookslyrette/82d978af0ee04390a796060cb41aa4e7 to your computer and use it in GitHub Desktop.

Select an option

Save brookslyrette/82d978af0ee04390a796060cb41aa4e7 to your computer and use it in GitHub Desktop.
language: node_js
node_js:
- "stable"
cache:
directories:
- node_modules
script:
- npm test -- --coverage # Include coverage when running tests
- npm run build
after_script: # Upload coverage reports
- COVERALLS_REPO_TOKEN=$coveralls_repo_token npm run coveralls
deploy:
provider: pages
skip_cleanup: true
github_token: $github_token
local_dir: build
on:
branch: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment