Maintenance: Improve CI config to use any NodeJS available on the CentOS CI image.
This commit is contained in:
parent
fdccd3cafd
commit
a1512f4f93
2 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,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
|
- source /opt/rh/rh-nodejs*/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
|
||||||
|
|
|
@ -6,7 +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
|
- source /opt/rh/rh-nodejs*/enable # ensure Node.js is available
|
||||||
|
|
||||||
rubocop:
|
rubocop:
|
||||||
<<: *template_pre
|
<<: *template_pre
|
||||||
|
@ -72,7 +72,7 @@ coffeelint:
|
||||||
stylelint:
|
stylelint:
|
||||||
<<: *template_pre
|
<<: *template_pre
|
||||||
before_script:
|
before_script:
|
||||||
- source /opt/rh/rh-nodejs12/enable
|
- source /opt/rh/rh-nodejs*/enable
|
||||||
- yarn install
|
- yarn install
|
||||||
script:
|
script:
|
||||||
- yarn lint:css
|
- yarn lint:css
|
||||||
|
|
Loading…
Reference in a new issue