From 5ff998290e113189511cdaa0c7931c83a8c0c62e Mon Sep 17 00:00:00 2001 From: Piotr Gawron <p.gawron@atcomp.pl> Date: Thu, 4 Jan 2024 14:23:41 +0100 Subject: [PATCH] use old version of npm --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5d12901eb..7490528c9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: node:18 +image: node:14 stages: - build @@ -161,7 +161,7 @@ test:frontend: script: &test_backend_web_definition - apt-get update - DEBIAN_FRONTEND=noninteractive apt-get install -y curl gnupg git ant - - curl -sL https://deb.nodesource.com/setup_18.x | bash - + - curl -sL https://deb.nodesource.com/setup_12.x | bash - - DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs - mvn -DskipTests=true clean install -pl web -am - mvn test -pl web @@ -393,7 +393,7 @@ build_war: - apt-get update - DEBIAN_FRONTEND=noninteractive apt-get install -y curl gnupg git ant - - curl -sL https://deb.nodesource.com/setup_18.x | bash - + - curl -sL https://deb.nodesource.com/setup_12.x | bash - - DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs - ant maven-build-with-doc - cp web/target/*.war minerva.war @@ -404,7 +404,7 @@ test:dependency_conflict: script: - apt-get update - DEBIAN_FRONTEND=noninteractive apt-get install -y curl gnupg git ant - - curl -sL https://deb.nodesource.com/setup_18.x | bash - + - curl -sL https://deb.nodesource.com/setup_12.x | bash - - DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs - mvn clean install -DskipTests=true @@ -422,7 +422,7 @@ test:code_validation: script: - apt-get update - DEBIAN_FRONTEND=noninteractive apt-get install -y curl gnupg git ant - - curl -sL https://deb.nodesource.com/setup_18.x | bash - + - curl -sL https://deb.nodesource.com/setup_12.x | bash - - DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs - mvn clean compile validate -- GitLab