diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb8a5a38e08e759fd5ace0fac95bade20ffdab7a..bcb91b2b6fc77afb0a5385615c50d41693f2fc88 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