Gitlab CI error [ThemeValidationError]

I’ve been using Gitlab’s continuous integration for a long time and recently I had to make some changes to my gulp file. The thing is that when it tries to upload the new theme via API it gives the following error:

[24:08:29] Starting 'deploy'...
Error [ThemeValidationError]: Theme "grumium-theme" is not compatible or contains errors.
    at /builds/t3rr0rz0n3/grumium-theme/node_modules/@tryghost/admin-api/lib/admin-api.js:463:33
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async deploy (file:///builds/t3rr0rz0n3/grumium-theme/gulpfile.js:188:9) {
  context: null,
  type: 'ThemeValidationError',
  details: {
    checkedVersion: '5.x',
    name: 'grumium-theme',
    path: '/tmp/ecbc199d-27a5-4910-8db7-3f01ab8f0803',
    version: '0.4.3',
    errors: [ [Object] ],
    warnings: []
  },
  property: null,
  help: null,
  code: null,
  id: 'd73e28e0-5775-11ef-8c09-e57447106718',
  ghostErrorCode: null
}
[24:08:30] 'deploy' errored after 1.61 s
[24:08:30] ThemeValidationError: Theme "grumium-theme" is not compatible or contains errors.
    at /builds/t3rr0rz0n3/grumium-theme/node_modules/@tryghost/admin-api/lib/admin-api.js:463:33
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async deploy (file:///builds/t3rr0rz0n3/grumium-theme/gulpfile.js:188:9)
[24:08:30] 'deploy' errored after 3.77 s
Cleaning up project directory and file based variables 00:01
ERROR: Job failed: exit code 1

I’ve checked with GSCAN if there is any error, but I get that the theme is 100% compatible with Ghost 5.x.

I need help with this, because I can’t think of anything else to check :/

Fixed. I just needed to get some sleep. :sleeping: It seems that there was an error in the theme that was uploaded from gitlab. :man_facepalming: