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

Install node in other stage too.

parent c40eabda
No related branches found
No related tags found
No related merge requests found
Pipeline #752 passed
......@@ -20,8 +20,6 @@ bundle_and_test:
- apt-get install -y curl
- curl -sL https://deb.nodesource.com/setup_10.x | bash -
- apt-get install -y nodejs
# - apt-get install -y npm
- apt-get install -y build-essential
- npm install -g @apidevtools/swagger-cli
script:
......@@ -45,7 +43,10 @@ test_api:
pages:
stage: deploy
before_script:
# - apt install -y nodejs npm
- apt-get update
- apt-get install -y curl
- curl -sL https://deb.nodesource.com/setup_10.x | bash -
- apt-get install -y nodejs
- 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