From 77bad4783f2185f76decb0298a6a7ccc9a287943 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Mon, 22 Nov 2021 12:30:01 +0100 Subject: [PATCH] fix node version to 12 in pipeline --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c580d2b9..4bcd5c79 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ # image: weboaks/node-karma-protractor-chrome -image: node:latest +image: node:12.22.5 stages: - build @@ -10,6 +10,7 @@ stages: cache: paths: - node_modules/ + - .yarn #pages: # stage: pages @@ -38,8 +39,9 @@ cache: build: stage: build + before_script: + - yarn script: - - yarn install --pure-lockfile - yarn run build:prod:demobliss cache: policy: pull