Commit 3bb4f4de authored by Eduardo Sanz García's avatar Eduardo Sanz García
Browse files

feat: added CI

parent ca524b3c
Pipeline #2772 failed with stages
in 2 minutes and 32 seconds
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment