Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@
"test": "jest",
"integration:clean": "pnpm --filter @integration/* clean",
"integration:generate": "node ./scripts/generate.mjs",
"integration:validate": "pnpm -r validate",
"integration:validate": "pnpm -r --workspace-concurrency=2 validate",
"e2e:generate": "pnpm --filter e2e clean && pnpm --filter e2e generate",
"e2e:validate": "pnpm --filter e2e build && pnpm --filter e2e test",
"ci-test": "jest --coverage",
"ci-lint": "biome ci .",
"ci-pipeline": "./scripts/ci-pipeline.sh",
"ci-pipeline:fast": "FAST=1 ./scripts/ci-pipeline.sh",
"publish:alpha": "./scripts/publish.alpha.sh",
"publish:release": "./scripts/publish.release.sh",
"prepare": "husky"
Expand Down
10 changes: 8 additions & 2 deletions scripts/ci-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ SCHEMA_BUILDERS=(
zod-v4
)

if [[ -n "$FAST" ]]; then
SCHEMA_BUILDERS=(zod-v4)
fi

pnpm run build
pnpm run build:docs
pnpm ci-test
Expand All @@ -21,8 +25,10 @@ for SCHEMA_BUILDER in "${SCHEMA_BUILDERS[@]}"; do
pnpm integration:validate
done

SCHEMA_BUILDER=zod-v3 pnpm e2e:generate
pnpm e2e:validate
if [[ -z "$FAST" ]]; then
SCHEMA_BUILDER=zod-v3 pnpm e2e:generate
pnpm e2e:validate
fi

SCHEMA_BUILDER=zod-v4 pnpm e2e:generate
pnpm e2e:validate
Loading