-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbitbucket-pipelines.yml
44 lines (44 loc) · 1.09 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
43
44
image: node:14.19.0
options:
max-time: 20
pipelines:
custom:
standard:
- step: &install
name: Get Dependencies
caches:
- node
script:
- yarn install --frozen-lockfile
artifacts:
- node_modules/**
- public/**
- parallel: &tests
- step:
name: Lint
script:
- npm run lint
- step:
name: Unit Test
script:
- npm run test:unit
- step:
name: E2E Test
script:
- chmod 755 ./ci/misc/web-e2e.sh
- ./ci/misc/web-e2e.sh
- step:
name: Build
script:
- apt-get update
- apt install -y wine
- dpkg --add-architecture i386
- npm run build
- npm run build-pack:electron
default:
- step: *install
- parallel: *tests
branches:
master:
- step: *install
- parallel: *tests