diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5d12901ebfc8f635d73cfff102ec4f96b9e8fbb..7490528c9dbb6e9e1dba74677370815bbf861507 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