fix(deploy): npm ci --include=dev in webhook-deploy.sh (BIT-33336)
Node 24/npm 11 omits devDependencies (tsc) on plain npm ci. Together with the CT225 hotfix drift (context_data, resolve endpoints) preserved from hotfix/ct225-drift-recent-errors.
This commit is contained in:
1 parent
40c646ab4b
commit
6a55df01bc
1 file changed
+4
-4
@@ -27,10 +27,10 @@ git checkout "${_DEPLOY_BRANCH}"
|
||||
git merge --ff-only "origin/${_DEPLOY_BRANCH}"
|
||||
|
||||
echo "webhook-deploy: npm ci + build (ingest-api, admin-ui, collector-worker, api)"
|
||||
(cd "${_ROOT}/ingest-api" && npm ci && npm run build)
|
||||
(cd "${_ROOT}/admin-ui" && npm ci && npm run build)
|
||||
(cd "${_ROOT}/collector-worker" && npm ci && npm run build)
|
||||
(cd "${_ROOT}/api" && npm ci && npm run build)
|
||||
(cd "${_ROOT}/ingest-api" && npm ci --include=dev && npm run build)
|
||||
(cd "${_ROOT}/admin-ui" && npm ci --include=dev && npm run build)
|
||||
(cd "${_ROOT}/collector-worker" && npm ci --include=dev && npm run build)
|
||||
(cd "${_ROOT}/api" && npm ci --include=dev && npm run build)
|
||||
|
||||
if getent passwd error-reporting >/dev/null 2>&1; then
|
||||
chown -R error-reporting:error-reporting "${_ROOT}"
|
||||
|
||||
Reference in new issue
Block a user