This repository has been archived by the owner on May 11, 2021. It is now read-only.
/
bitrise.yml
81 lines (81 loc) · 1.67 KB
/
bitrise.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
format_version: '8'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: other
workflows:
setup:
steps:
- script@1.1.5:
title: Setup
inputs:
- content: |
#!/bin/bash
set -ex
yarn
test:
before_run:
- setup
steps:
- script@1.1.5:
title: Run tests
inputs:
- content: |
#!/bin/bash
set -ex
yarn test
build:
before_run:
- setup
steps:
- script@1.1.5:
title: Build app
inputs:
- content: |
#!/bin/bash
set -ex
yarn build
analyze-bundle:
envs:
- ANALYZE: 'true'
steps:
- script@1.1.5:
title: Analyze webpack bundle
inputs:
- content: |
#!/bin/bash
set -ex
yarn build
up-dev:
before_run:
- setup
steps:
- script@1.1.5:
title: Start dev server
inputs:
- content: |
#!/bin/bash
set -ex
yarn start
up:
before_run:
- build
envs:
- NODE_ENV: production
steps:
- script@1.1.5:
title: Start server
inputs:
- content: |
#!/bin/bash
set -ex
yarn start
algolia:
before_run:
- setup
steps:
- script@1.1.5:
title: Index algolia
inputs:
- content: |
#!/bin/bash
set -ex
yarn algolia