-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbitbucket-pipelines.yml
38 lines (38 loc) · 1.03 KB
/
bitbucket-pipelines.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
pipelines:
branches: #branch specific pipeline configuration
main: #main pipeline
- step:
name: Build and test the application
image: node:latest
script:
- yarn
- yarn lint
- yarn prettier
- yarn build
develop: #develop pipeline
- step::
name: Build the application
image: node:latest
script:
- yarn
- yarn lint
- yarn prettier
- yarn build
# default: #default configuration for the branches that don't have pipeline configs
# custom: #pipelines that only run manually
# production:
# - step:
# name: Build the application
# image: node:latest
# script:
# - yarn
# - yarn lint
# - yarn prettier
# - yarn build
# artifacts:
# - build/**
# - step:
# name: Deploy the application to S3
# deployment: production
# script:
# - pipe: