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.
25 lines
465 B
25 lines
465 B
language: node_js
|
|
sudo: true
|
|
dist: trusty
|
|
node_js:
|
|
- 10
|
|
branches:
|
|
except:
|
|
- /^v[0-9]/
|
|
install:
|
|
- yarn install
|
|
script:
|
|
- yarn bootstrap
|
|
- yarn test:src
|
|
- yarn dist
|
|
- yarn docs:gitbook # generate docs to ghpage
|
|
cache:
|
|
directories:
|
|
- '$HOME/.yarn-cache'
|
|
deploy:
|
|
provider: pages
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
|
|
keep-history: true
|
|
on:
|
|
branch: master |