Newer
Older
{
"name": "Angular",
"description": "Build and test with [Angular](https://angular.io/)",
"template_path": "templates/gitlab-ci-angular.yml",
"kind": "build",
"variables": [
{
"name": "NG_CLI_IMAGE",
"description": "The Docker image used to run Angular-CLI (`ng`) - **set the version required by your project**",
"default": "trion/ng-cli-karma:latest"
},
{
"name": "NPM_CONFIG_REGISTRY",
"description": "NPM [registry](https://docs.npmjs.com/configuring-your-registry-settings-as-an-npm-enterprise-user)",
"type": "url",
"advanced": true
},
{
"name": "NPM_CONFIG_SCOPED_REGISTRIES",
"description": "Space separated list of NPM [scoped registries](https://docs.npmjs.com/cli/v8/using-npm/scope#associating-a-scope-with-a-registry) (formatted as `@somescope:https://some.npm.registry/some/repo @anotherscope:https://another.npm.registry/another/repo`)",
"advanced": true
},
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "NG_WORKSPACE_DIR",
"description": "Angular workspace directory",
"default": ".",
"advanced": true
},
{
"name": "NG_BUILD_ARGS",
"description": "Angular [ng build](https://angular.io/cli/build) arguments",
"default": "build --prod",
"advanced": true
},
{
"name": "NG_TEST_ARGS",
"description": "Angular [ng test](https://angular.io/cli/test) arguments",
"default": "test --code-coverage --reporters progress,junit",
"advanced": true
},
{
"name": "NG_LINT_ARGS",
"description": "Angular [ng lint](https://angular.io/cli/lint) arguments",
"default": "lint",
"advanced": true
}
],
"features": [
{
"id": "publish",
"name": "Publish",
"description": "NPM [publish](https://docs.npmjs.com/cli/v6/commands/npm-publish) your angular project",
"enable_with": "NG_PUBLISH_ENABLED",
"variables": [
{
"name": "NG_PUBLISH_ARGS",
"description": "npm [publish](https://docs.npmjs.com/cli/v6/commands/npm-publish) arguments",
"default": "--verbose",
"advanced": true
},
{
"name": "NG_PUBLISH_PROJECTS",
"description": "Space separated list of projects to publish. If no project is specified, the value of _angular.json_ `defaultProject` property is used",
"advanced": true
},
{
"name": "NPM_PUBLISH_REGISTRY",
"description": "NPM registry to publish to. If none is specified, uses GitLab project npm packages registry",
"secret": true
},
{
"name": "NPM_PUBLISH_TOKEN",
"description": "NPM publication registry authentication token",
"secret": true
}
]
},
{
"id": "e2e-test",
"name": "e2e-test",
"description": "Run your [e2e tests](https://angular.io/cli/e2e) on your angular project",
"enable_with": "NG_E2E_ENABLED",
"variables": [
{
"name": "NG_E2E_ARGS",
"description": "ng [e2e](https://angular.io/cli/e2e) arguments",
"default": "e2e",
"advanced": true
},
{
"name": "NG_E2E_REPORT_PATH",
"description": "path where e2e reports are stored",
"default": "reports/e2e",
"advanced": true
}
]
}
]
}