diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb61958a..3b8ae6ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,10 +23,12 @@ jobs: node-version: '22' - name: Install dependencies - run: bun install --frozen-lockfile + run: | + bun install --frozen-lockfile + cd ui && bun install --frozen-lockfile - name: Build package - run: bun run build + run: bun run build:all - name: Validate (typecheck + lint + tests) run: bun run validate diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml index ac177753..b1967ad1 100644 --- a/.github/workflows/dev-release.yml +++ b/.github/workflows/dev-release.yml @@ -36,10 +36,11 @@ jobs: bun install --frozen-lockfile cd ui && bun install --frozen-lockfile - - name: Build and validate - run: | - bun run build:all - bun run validate + - name: Build + run: bun run build:all + + - name: Validate (typecheck + lint + tests) + run: bun run validate - name: Bump dev version id: bump diff --git a/package.json b/package.json index 59586e50..6930b94c 100644 --- a/package.json +++ b/package.json @@ -62,9 +62,10 @@ "lint:fix": "eslint src/ --fix", "format": "prettier --write src/", "format:check": "prettier --check src/", - "validate": "bun run typecheck && bun run lint:fix && bun run format:check && bun run test", + "validate": "bun run typecheck && bun run lint:fix && bun run format:check && bun run test:all", "verify:bundle": "node scripts/verify-bundle.js", "test": "bun run build && bun run test:all", + "test:ci": "bun run test:all", "test:all": "bun test", "test:unit": "bun test tests/unit/", "test:npm": "bun test tests/npm/",