diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6fd222c9122771a9e80830c67143245901454ed1..39f4b927ff44b72eeeca252ae072bea40d4fcbc0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,24 @@ build: - dev - merge_requests - feat/pipeline - +build-test: + stage: build + image: node:14.15.4-alpine + before_script: + - apk add git + - apk add bash + script: + - yarn + - yarn build + - git config --global user.name build-pipeline + - git config --global user.email "$GIT_USER" + - git config --global user.password "$GIT_PWD" + - git config user.email "$GIT_USER" + - git remote set-url origin https://"$GIT_USER":"$GIT_PWD"@forge.grandlyon.com/web-et-numerique/llle_project/backoffice-client.git + - git config --global credential.helper store + - yarn deploy + only: + - dev sonarqube: stage: quality only: