From e4cbc658b559a35d780fa2d269dbc8bbb0090277 Mon Sep 17 00:00:00 2001 From: Sergii Mykyteiek Date: Wed, 6 Oct 2021 16:58:14 +0300 Subject: [PATCH] LT-13: Extend yml gitlab --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60c66e2..d00d11a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,9 +21,8 @@ build-app-job: test-run-job: stage: test + before_script: + - npm ci --cache .npm --prefer-offline script: - echo "Run test starting" - - npm run test - rules: - - if: '$CI_COMMIT_BRANCH == "develop"' - - if: '$CI_COMMIT_BRANCH == "main"' \ No newline at end of file + - npm run test \ No newline at end of file -- GitLab