DEV Community

theRealProHacker
theRealProHacker Subscriber

Posted on

Pre-approve build scripts in pnpm (Easy Fix)

Approving pnpm build scripts always was quite a hassle, especially in the CI.

I found a nice way today:

In pnpm-workflow.yaml

allowBuilds:
 esbuild: true
 sharp: true
Enter fullscreen mode Exit fullscreen mode

Top comments (0)