From cb5c0476cb4653e73f6c468a29c3ee104530fb2c Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Mon, 22 Jun 2020 19:47:47 +0200 Subject: [PATCH] Try install curl and node. --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb8a5a3..bcb91b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,9 @@ cache: bundle_and_test: stage: bundle before_script: - - apt install nodejs npm + - apt install -y curl + - curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - + - apt install -y nodejs npm - npm install -g @apidevtools/swagger-cli script: @@ -40,7 +42,7 @@ test_api: pages: stage: deploy before_script: - - apt install nodejs npm + # - apt install -y nodejs npm - npm install swagger-ui-dist@3.22.1 script: - cp -rp node_modules/swagger-ui-dist/* ./public -- GitLab