Skip to content
Snippets Groups Projects
Commit bb5c2a1c authored by Igor Markin's avatar Igor Markin
Browse files

Adds .gitlab-ci.yml

parent 42c603ed
No related branches found
No related tags found
1 merge request!24Add CI tests
Pipeline #41843 passed with stages
in 1 minute and 32 seconds
image: node:12.22-alpine
include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
stages:
- install
- test
install:
stage: install
tags:
- amd64-docker
script:
- apk add --no-cache git openssh
- git config --global url."https://gitlab-ci-token:$CI_JOB_TOKEN@code.vereign.com/".insteadOf "git@code.vereign.com:"
- echo '[http "https://code.vereign.com"]' >> $HOME/.gitconfig
- echo " sslVerify = false" >> $HOME/.gitconfig
- yarn install --frozen-lockfile
cache:
paths:
- node_modules/
artifacts:
expire_in: 1 days
when: on_success
paths:
- node_modules/
test:
stage: test
tags:
- amd64-docker
dependencies:
- install
script:
- yarn test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment