Heroku buildpack that installs Node.js and builds the services/agent/ subdirectory within a monorepo.
- Detects repos with
services/agent/package.json - Installs Node.js 22.14.0 (cached between builds)
- Runs
npm ci,npm run build, andnpm prune --productioninservices/agent/ - Makes
nodeavailable onPATHat runtime via.profile.d
Add as a buildpack on your Heroku app:
heroku buildpacks:add https://github.com/gluegroups/heroku-buildpack-node-subdir -a your-app