build script skips lint, type-check, and article validation #34

Closed
opened 2026-06-09 20:37:42 +00:00 by glow · 1 comment
Owner

Location

package.json, scripts.build

Problem

The build script "build": "qwik build && bun run scripts/generate-sitemap.ts && bun run images:optimize" doesn't run any quality gates.

Suggested fix

Restructure:

"ci": "bun run fmt.check && bun run lint && bun run build.types && bun run scripts/validate-article.ts && bun run build"

Or add a prebuild validate step.

## Location `package.json`, `scripts.build` ## Problem The build script `"build": "qwik build && bun run scripts/generate-sitemap.ts && bun run images:optimize"` doesn't run any quality gates. ## Suggested fix Restructure: ```json "ci": "bun run fmt.check && bun run lint && bun run build.types && bun run scripts/validate-article.ts && bun run build" ``` Or add a prebuild validate step.
glow self-assigned this 2026-06-09 20:37:42 +00:00
glow closed this issue 2026-06-09 21:29:10 +00:00
Author
Owner

Added ci script to package.json with quality gates: fmt.check → lint → build.types → validate-article.ts → build. Pushed in ceeec5b.

Added `ci` script to package.json with quality gates: fmt.check → lint → build.types → validate-article.ts → build. Pushed in ceeec5b.
Sign in to join this conversation.
No labels
bug
feature
improvement
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
glow/first-home-diy#34
No description provided.