npm ERR! code ENOGIT npm ERR! No git binary found in $PATH npm ERR! npm ERR! Failed using git. npm ERR! Please check if you have git installed and in your PATH. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-07-13T13_58_45_828Z-debug-0.log
18 lines
322 B
YAML
18 lines
322 B
YAML
.npm-build:
|
|
image: $NODE_IMAGE
|
|
stage: build
|
|
variables:
|
|
FRONTEND_BUILD_DIR: '**/dist'
|
|
before_script:
|
|
- >
|
|
if [ "$FRONTEND_DIR" != "" ]; then
|
|
cd $FRONTEND_DIR
|
|
fi
|
|
script:
|
|
- npm run ci:build
|
|
artifacts:
|
|
expire_in: 2 weeks
|
|
when: always
|
|
paths:
|
|
- '$FRONTEND_BUILD_DIR'
|