Maintenance: Activate the new Node.js 12 for CI.

This commit is contained in:
Martin Gruner 2021-07-01 11:26:08 +02:00
parent 5d4b9d5a0d
commit 3b518cfa00
2 changed files with 2 additions and 0 deletions

View file

@ -59,6 +59,7 @@ cache:
# Initialize application env # Initialize application env
before_script: before_script:
- source /etc/profile.d/rvm.sh - source /etc/profile.d/rvm.sh
- source /opt/rh/rh-nodejs12/enable
- bundle install -j $(nproc) --path vendor - bundle install -j $(nproc) --path vendor
- bundle exec ruby .gitlab/configure_environment.rb - bundle exec ruby .gitlab/configure_environment.rb
- source .gitlab/environment.env - source .gitlab/environment.env

View file

@ -6,6 +6,7 @@
- .rules_singletest - .rules_singletest
before_script: before_script:
- source /etc/profile.d/rvm.sh # ensure RVM is loaded - source /etc/profile.d/rvm.sh # ensure RVM is loaded
- source /opt/rh/rh-nodejs12/enable # ensure Node.js is available
rubocop: rubocop:
<<: *template_pre <<: *template_pre