fix: skip OpenAPI generation in CI to speed up setup step

This commit is contained in:
Nathan Flurry 2026-01-27 21:01:15 -08:00
parent 6ab2909ac5
commit 05459a2a2f
3 changed files with 4 additions and 2 deletions

View file

@ -23,7 +23,7 @@
"generate:openapi": "cargo check -p sandbox-agent-openapi-gen && cargo run -p sandbox-agent-openapi-gen -- --out ../../docs/openapi.json",
"generate:types": "openapi-typescript ../../docs/openapi.json -o src/generated/openapi.ts",
"generate": "pnpm run generate:openapi && pnpm run generate:types",
"build": "pnpm run generate && tsup",
"build": "if [ -z \"$SKIP_OPENAPI_GEN\" ]; then pnpm run generate:openapi; fi && pnpm run generate:types && tsup",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest"