ci: pin Node 20 for backend + install bun for OpenNext frontend build
Two bootstrap fixes after first deploy attempt: - backend/package.json: add engines.node ">=20" so Nixpacks installs Node 20 on Railway instead of the default 18 (which is EOL and was removed). - .github/workflows/ci-cd.yml: install bun in deploy-frontend before the OpenNext build. OpenNext detects frontend/bun.lock and invokes `bun run build`, which fails on a runner with only Node installed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
| Repository | OrigenStudio/mike |
|---|---|
| Author | Pol Guixe <pol@origen.studio> |
| Authored | |
| Parents | e620d8e5 |
| Stats | 2 files changed , +8 |
| Part of | CI/CD deploy pipeline (GitHub Actions, staging + production) |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-def45505.md
from inside the repo you want the change in.