Maintenance: Improve CI config to use any NodeJS available on the CentOS CI image.

This commit is contained in:
Martin Gruner 2022-01-21 09:44:00 +01:00
parent bf5cb0a593
commit 7ff7be804c
2 changed files with 2 additions and 2 deletions

View file

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

View file

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