Hi!
I have two stages for CI
- build (OK)
- deploy (Error)
I have for deploy simple script
deploy-dev:
only:
- dev
except:
- merge_requests
stage: deploy
script:
- npm i firebase-tools@8.4.2
- firebase deploy -P dev --non-interactive --token "$FIREBASE_TOKEN"
CI run line “npm i firebase-tools@8.4.2”
and throw error in log:
npm i firebase-tools@8.4.2
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/DABH/diagnostics.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
Please any any help and ideas for resolve