heroku / heroku-buildpack-nodejs

Heroku's classic buildpack for Node.js applications.
https://devcenter.heroku.com/categories/nodejs-support
MIT License
1.31k stars 2.63k forks source link

Support Heroku CI tests with pnpm #1308

Closed joshwlewis closed 3 months ago

joshwlewis commented 3 months ago

Folks using pnpm and Heroku CI may be surprised with strange error messages like This project is configured to use ${result.spec.name} because ${result.target} has a "packageManager" field. This is because our bin/test script is trying to run npm test on an app managed with pnpm.

Resolves #1307.

/cc @julianduque