Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Tools glue
ng-ebi-authorization
Commits
3bb4f4de
Commit
3bb4f4de
authored
Feb 09, 2018
by
Eduardo Sanz García
Browse files
feat: added CI
parent
ca524b3c
Pipeline
#2772
failed with stages
in 2 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
0 deletions
+49
-0
.gitlab-ci.yml
.gitlab-ci.yml
+49
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
3bb4f4de
stages
:
-
prepare
-
test
-
build
# Needed to launch the image
variables
:
USER_ID
:
"
$(id
-u)"
GROUP_ID
:
"
$(id
-g)"
prepare
:
stage
:
prepare
image
:
node:alpine
script
:
-
yarn
-
yarn ng -- --version
# Display version information
artifacts
:
paths
:
-
node_modules/
expire_in
:
1 hour
test
:
stage
:
test
image
:
selenium/node-chrome
script
:
-
yarn test:sr
artifacts
:
paths
:
-
coverage/
expire_in
:
1 week
lint
:
stage
:
test
image
:
node:alpine
script
:
-
yarn lint
allow_failure
:
true
build
:
stage
:
build
image
:
node:alpine
script
:
-
yarn build:prod
artifacts
:
name
:
"
${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
paths
:
-
dist-lib/
only
:
-
master
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment