-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
42 lines (42 loc) · 1.22 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
39
40
41
42
image: node:16.14.0
pipelines:
pull-requests:
'**': # This runs as default for any branch not elsewhere defined
- step:
name: "Verify Dependencies, Formatting, Typechecking, Linting and Tests"
caches:
- node
script:
- yarn install --frozen-lockfile
- yarn check-format
- yarn type-check
- yarn lint
- yarn test
branches:
main:
- step:
name: "Verify Dependencies, Formatting, Typechecking, Linting and Tests"
caches:
- node
script:
- yarn install --frozen-lockfile
- yarn check-format
- yarn type-check
- yarn lint
- yarn test
custom: # Pipelines that can only be triggered manually or by a schedule
qa-nightly-build:
- step:
name: "Trigger nightly build"
caches:
- node
script:
- bash ./scripts/qa-nightly-build.sh
update-generated-types:
- step:
name: "Update generated types"
caches:
- node
script:
- yarn install --frozen-lockfile
- bash ./scripts/update-generated-types.sh