fix node version to 12 in pipeline

This commit is contained in:
Tykayn 2021-11-22 12:30:01 +01:00 committed by tykayn
parent e26d468c73
commit 77bad4783f

View File

@ -1,5 +1,5 @@
# image: weboaks/node-karma-protractor-chrome # image: weboaks/node-karma-protractor-chrome
image: node:latest image: node:12.22.5
stages: stages:
- build - build
@ -10,6 +10,7 @@ stages:
cache: cache:
paths: paths:
- node_modules/ - node_modules/
- .yarn
#pages: #pages:
# stage: pages # stage: pages
@ -38,8 +39,9 @@ cache:
build: build:
stage: build stage: build
before_script:
- yarn
script: script:
- yarn install --pure-lockfile
- yarn run build:prod:demobliss - yarn run build:prod:demobliss
cache: cache:
policy: pull policy: pull