Skip to content
Snippets Groups Projects
Commit cb5c0476 authored by David Trattnig's avatar David Trattnig
Browse files

Try install curl and node.

parent 154cb9a3
No related branches found
No related tags found
No related merge requests found
Pipeline #744 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment