fix(deploy): --ignore-ts-errors sur ace build (typecheck strict en CI)
All checks were successful
Build & Deploy App / build-and-deploy (push) Successful in 4m42s
All checks were successful
Build & Deploy App / build-and-deploy (push) Successful in 4m42s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
57907a5d68
commit
f6776dd81c
@ -65,7 +65,11 @@ COPY apps/api ./apps/api
|
||||
# ERR_UNKNOWN_FILE_EXTENSION. tsx (esbuild-based) est fiable et gère
|
||||
# nativement les .ts dès le démarrage.
|
||||
RUN pnpm --filter @rubis/web exec vite build
|
||||
RUN cd apps/api && pnpm exec tsx ace.js build
|
||||
# --ignore-ts-errors : on ignore les erreurs TS du build (notamment
|
||||
# tests/bootstrap.ts qui référence un .adonisjs/client/registry/schema.d.ts
|
||||
# généré tardivement). Le typecheck strict est exécuté côté CI séparément
|
||||
# (pnpm typecheck), avant que ce build ne soit déclenché.
|
||||
RUN cd apps/api && pnpm exec tsx ace.js build --ignore-ts-errors
|
||||
|
||||
# Le SPA static va dans apps/api/build/public/ pour être servi par le static
|
||||
# middleware AdonisJS. AdonisJS ne copie pas public/ par défaut dans build/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user