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.
27 lines
449 B
27 lines
449 B
10 months ago
|
language: node_js
|
||
|
node_js: lts/*
|
||
|
|
||
|
install:
|
||
|
- npm install
|
||
|
|
||
|
script:
|
||
|
- npm run build
|
||
|
- npm run build:docs
|
||
|
|
||
|
cache: npm
|
||
|
|
||
|
deploy:
|
||
|
- provider: script
|
||
|
skip_cleanup: true
|
||
|
on:
|
||
|
all_branches: true
|
||
|
condition: $TRAVIS_BRANCH =~ ^(master|beta)$
|
||
|
script: npx semantic-release
|
||
|
- provider: pages
|
||
|
skip_cleanup: true
|
||
|
keep_history: true
|
||
|
github_token: $GH_TOKEN
|
||
|
on:
|
||
|
branch: master
|
||
|
local_dir: docs/.vuepress/dist
|