From 0bfd6971706cdb5d07aacd2915047d811f8c026a Mon Sep 17 00:00:00 2001
From: Hadrien RENAUD <hadrien.renaud@polytechnique.edu>
Date: Sat, 9 Mar 2019 12:55:17 +0100
Subject: [PATCH] Re-run npm i at the beginning of the tests stage

---
 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 86fc7c5..e2d6533 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -43,9 +43,8 @@ build:transpile:
 
 tests:
   stage: tests
-  before_script:
-    - export NODE_ENV=staging
   script:
+    - npm i
     - npm run test
 
 docker:build:
-- 
GitLab