Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 563 Bytes

File metadata and controls

18 lines (12 loc) · 563 Bytes

heroku-buildpack-node-subdir

Heroku buildpack that installs Node.js and builds the services/agent/ subdirectory within a monorepo.

What it does

  1. Detects repos with services/agent/package.json
  2. Installs Node.js 22.14.0 (cached between builds)
  3. Runs npm ci, npm run build, and npm prune --production in services/agent/
  4. Makes node available on PATH at runtime via .profile.d

Usage

Add as a buildpack on your Heroku app:

heroku buildpacks:add https://github.com/gluegroups/heroku-buildpack-node-subdir -a your-app