managarten/.github/workflows
Till JS 104a5a46a0 fix(deploy): pnpm install workspace deps before running safe-db-push
Two follow-up fixes after the first migration-step deploy revealed
gaps:

1. \`pnpm dlx drizzle-kit\` doesn't work — the drizzle.config.ts file
   itself does \`import { defineConfig } from 'drizzle-kit'\`, and
   Node's resolver only finds that import via local node_modules,
   not pnpm's dlx cache. Reverted to plain \`pnpm exec drizzle-kit\`
   and require the workspace to be installed.

2. CD now runs \`pnpm install --filter ./services/<svc>... --frozen-
   lockfile --ignore-scripts\` once at the start of the migration
   step for every Drizzle service in the deploy. Path-based filter
   (not name-based) because our service package names follow no
   uniform convention (\`@mana/auth\` vs \`@mana/credits-service\` vs
   \`@mana/events\`). pnpm's lockfile cache makes second-and-later
   runs near-instant.

3. Dropped the \`--silent\` flag from \`pnpm exec drizzle-kit --version\`
   — it isn't a recognised pnpm-exec flag and causes a 254 exit code,
   making the script's "is drizzle-kit available?" probe always fail.

Smoke-tested locally — script now runs cleanly against mana-auth's
schema, reports "no changes detected", cleans up the probe SQL file.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 17:10:08 +02:00
..
cd-macmini.yml fix(deploy): pnpm install workspace deps before running safe-db-push 2026-04-28 17:10:08 +02:00
ci.yml chore(ci): drop 16 dead build-* jobs + per-product detect-changes branches 2026-04-28 15:32:43 +02:00
daily-tests.yml feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
docker-validate.yml refactor: rename zitare -> quotes (Zitate) 2026-04-14 20:59:16 +02:00
mirror-to-forgejo.yml feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
module-health.yml chore(audit): module complexity reports + workbench map 2026-04-14 19:47:42 +02:00