From e6099c0b7646fd9c334dc9bdc38ccc087d5b1d0a Mon Sep 17 00:00:00 2001 From: "guilhem.carron" <gcarron@grandlyon.com> Date: Thu, 5 Aug 2021 14:35:30 +0200 Subject: [PATCH] test build --- .gitlab-ci.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6fd222c9..39f4b927 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: -- GitLab