blob: a02f6eb6077cab7a819bd2d3700e37eb7a00cc54 (
plain) (
blame)
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
|
image: node:16.13.1
cache:
paths:
- node_modules/
- .yarn/cache
stages:
- test
- lint
- build
Run tests:
stage: test
before_script:
- yarn install
script:
- yarn test
Run linter and static analyzer:
stage: lint
before_script:
- yarn install
script:
- yarn typecheck
- yarn run lint
# TODO: GitlabCI free runners are only for linux - need to investigate for macos and windows artifacts
Build the app:
stage: build
before_script:
- yarn install
script:
- yarn compile
# TODO: Need to publish the built distributable file
artifacts:
paths:
- dist/
exclude:
- dist/builder-debug.yml
- dist/builder-effective-config.yaml
|