forked from bettyblocks/material-ui-component-set
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (38 loc) · 959 Bytes
/
.travis.yml
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
language: node_js
node_js: 14.2.0
jobs:
include:
- stage: quality
- script:
- yarn
- yarn lint
name: 'Lint'
- script:
- yarn
- yarn bundle
- yarn build
name: 'Build'
- stage: deploy_test_environment
name: 'Publish Component Set on test environments'
if: branch IN (edge) AND type != pull_request
deploy:
provider: script
skip_cleanup: true
before_script:
- yarn
script:
- yarn build && yarn bundle && yarn upload
on:
all_branches: true
- stage: deploy
name: 'Publish Component Set'
if: branch IN (acceptance, master) AND type != pull_request
deploy:
provider: script
skip_cleanup: true
before_script:
- yarn
script:
- yarn build && yarn bundle && yarn upload && npx semantic-release
on:
all_branches: true