Browse Source

Maintenance: Switch to Node.js 16 in CI.

Martin Gruner 2 years ago
parent
commit
8a072c224b
3 changed files with 1 additions and 3 deletions
  1. 0 1
      .gitlab-ci.yml
  2. 1 0
      .gitlab/ci/browser-core/build.yml
  3. 0 2
      .gitlab/ci/pre.yml

+ 0 - 1
.gitlab-ci.yml

@@ -55,7 +55,6 @@ cache:
 # Initialize application env
 before_script:
   - source /etc/profile.d/rvm.sh
-  - source /opt/rh/rh-nodejs*/enable
   - echo -e "\\e[0Ksection_start:`date +%s`:bundle_install[collapsed=true]\\r\\e[0Kbundle install"
   - bundle config set --local frozen 'true'
   - bundle config set --local path 'vendor'

+ 1 - 0
.gitlab/ci/browser-core/build.yml

@@ -17,4 +17,5 @@ browser:build:
     - echo -e "\\e[0Ksection_start:`date +%s`:zammad_db_unseeded[collapsed=true]\\r\\e[0Kbundle exec rake zammad:db:unseeded"
     - bundle exec rake zammad:db:unseeded
     - echo -e "\\e[0Ksection_end:`date +%s`:zammad_db_unseeded\\r\\e[0K"
+    - node -v
     - bundle exec rake assets:precompile

+ 0 - 2
.gitlab/ci/pre.yml

@@ -8,7 +8,6 @@
     - .artifacts_error
   before_script:
     - source /etc/profile.d/rvm.sh # ensure RVM is loaded
-    - source /opt/rh/rh-nodejs*/enable # ensure Node.js is available
 
 .template_pre_rails: &template_pre_rails
   stage: pre
@@ -20,7 +19,6 @@
     - .artifacts_error
   before_script:
     - source /etc/profile.d/rvm.sh # ensure RVM is loaded
-    - source /opt/rh/rh-nodejs*/enable # ensure Node.js is available
     - echo -e "\\e[0Ksection_start:`date +%s`:bundle_install[collapsed=true]\\r\\e[0Kbundle install"
     - bundle config set --local frozen 'true'
     - bundle config set --local path 'vendor'