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
461 B
27 lines
461 B
language: node_js
|
|
sudo: true
|
|
dist: trusty
|
|
node_js:
|
|
- 10
|
|
branches:
|
|
except:
|
|
- /^v[0-9]/
|
|
install:
|
|
- yarn install
|
|
- yarn global add ts-node
|
|
script:
|
|
- yarn bootstrap
|
|
- yarn build
|
|
- yarn test:src
|
|
- yarn dist
|
|
|
|
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 |