-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (42 loc) · 863 Bytes
/
Copy path.travis.yml
File metadata and controls
42 lines (42 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
branches:
only:
- master
- develop
os: linux
language: node_js
node_js: '10'
cache: npm
before_install:
- npm i -g npm@latest
- export PATH="$HOME/node_modules/.bin:$PATH"
script:
- npm run lint
- npm run test
- npm run package:build
- npm run storybook:build
- npm run ui-guideline:build
deploy:
- provider: script
script: npm run package:publish:ci
skip_cleanup: true
on:
branch: master
- provider: pages
skip_cleanup: true
token: $GITHUB_TOKEN
keep_history: true
local_dir: ./dist-storybook
on:
all_branches: true
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
local_dir: ./dist/ui-guideline/browser
repo: lunit-io/ui-guideline
on:
all_branches: true
notifications:
email:
on_success: never
on_failure: always