blob: 3b20a6250d7dfba7ddfcacd2a193286abfe2c3f5 (
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
42
43
44
45
46
47
48
49
50
51
52
|
image: node:16.13.1
cache:
paths:
- .yarn/cache/
stages:
- code-quality
- test
- build
default:
before_script:
- yarn install --immutable
lint:
stage: code-quality
script:
- yarn types
- yarn lint:ci
artifacts:
reports:
codequality: gl-codequality.json
typecheck:
stage: code-quality
script:
- yarn types
- yarn typecheck:ci
test:
stage: test
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
script:
- yarn test:ci
artifacts:
reports:
cobertura: coverage/cobertura-coverage.xml
junit: junit.xml
# TODO: GitlabCI free runners are only for linux - need to investigate for macos and windows artifacts
build:
stage: build
script:
- yarn compile
# TODO: Need to publish the built distributable file
artifacts:
paths:
- dist/
exclude:
- dist/builder-debug.yml
- dist/builder-effective-config.yaml
|