From 19f3615a6ec51afe1bf662b2e1fb32c698d2d714 Mon Sep 17 00:00:00 2001 From: Hadrien RENAUD <hadrien.renaud@polytechnique.edu> Date: Sat, 9 Mar 2019 12:49:14 +0100 Subject: [PATCH] Ajout d'une stage staging --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 681f324..86fc7c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,7 @@ cache: stages: - build + - tests - docker ### Jobs ### @@ -40,6 +41,13 @@ build:transpile: paths: - build/ +tests: + stage: tests + before_script: + - export NODE_ENV=staging + script: + - npm run test + docker:build: dependencies: - build:transpile -- GitLab