mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
fix(ci): generate contracts in all frontend build paths
Run generation before the independently checked Ink workspace typecheck and copy the generator plus its source contracts into Docker's frontend build layer.
This commit is contained in:
parent
2cdfe35429
commit
a1c30df654
2 changed files with 3 additions and 0 deletions
|
|
@ -190,6 +190,8 @@ RUN uv sync --frozen --no-install-project --extra all --extra messaging --extra
|
|||
COPY web/ web/
|
||||
COPY ui-tui/ ui-tui/
|
||||
COPY apps/shared/ apps/shared/
|
||||
COPY scripts/generate_gateway_types.py scripts/generate_gateway_types.py
|
||||
COPY tui_gateway/contracts.py tui_gateway/contracts.py
|
||||
RUN cd web && npm run build && \
|
||||
cd ../ui-tui && npm run build
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
"scripts": {
|
||||
"build": "esbuild src/entry-exports.ts --bundle --platform=node --format=esm --packages=external --outdir=dist",
|
||||
"check": "npm run typecheck",
|
||||
"pretypecheck": "npm run generate:gateway-types --prefix ../../../apps/shared",
|
||||
"typecheck": "tsc -b . --noEmit",
|
||||
"lint": "echo 'ok!'",
|
||||
"fix": "echo 'nothing to fix'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue