Commit e7d4f7a0 authored by Claudio W's avatar Claudio W 📖
Browse files

refactor(ci): use specific bundler version and slim ruby

parent 6addb15f
......@@ -19,6 +19,7 @@ cache: &cacheSettings
- npm ci --no-shrinkwrap --cache .npm --prefer-offline
.rubyInstallScript: &rubyInstallScript
- gem install bundler:2.2.11
- bundle install -j $(nproc) --gemfile documentation/Gemfile
stages:
......@@ -40,7 +41,7 @@ install:node:
install:jekyll:
stage: install
needs: [ ]
image: ruby:2.7
image: ruby:2.7-slim
script:
- *rubyInstallScript
cache:
......@@ -67,7 +68,7 @@ build:docs:
- job: install:jekyll
- job: build:library
artifacts: true
image: ruby:2.7
image: ruby:2.7-slim
script:
- *rubyInstallScript
- cd documentation
......@@ -84,7 +85,7 @@ pages:
needs:
- job: build:docs
artifacts: true
image: ruby:2.7
image: ruby:2.7-slim
script:
- *rubyInstallScript
- rm -rf public
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment