trigger.dev
trigger.dev copied to clipboard
Allow specifying package manager for typecheck
https://github.com/triggerdotdev/trigger.dev/blob/da592d867adc84f65855fc2f152a1ee1b48cc650/packages/cli-v3/src/commands/deploy.ts#L1660
Because I'm using pnpm, my Github action for deploys are failing because the typecheck step only uses npm.
Possible solutions:
- Add a flag to the deploy command for specifying the package manager
- Detect the package manager used by the project by looking for a
pnpm-lock.yaml/npm-lock.yamlfile etc
I know I can fix this by making npm available, but I'd rather stick with pnpm since it's managing my monorepo deps.
Maybe this is helpful https://github.com/antfu-collective/ni