Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn doesn't run build scripts nor respects GOOGLE_NODE_RUN_SCRIPTS #360

Open
shaikatzz opened this issue Oct 29, 2023 · 0 comments
Open
Labels
kind/bug Something isn't working

Comments

@shaikatzz
Copy link

shaikatzz commented Oct 29, 2023

Describe the bug
Using npm/pnpm the builder uses the DetermineBuildCommands function to determine which build commands the tool should run, if using yarn it runs only gcp-build which is not expected, and not documented

Additional context
How are you using GCP buildpacks?
pack and the gcr.io/buildpacks/builder

Did this used to work?
No
Was this working before? When did you start noticing these errors?

What language is your project primarily written in?
Node.js

Steps To Reproduce
Steps to reproduce the behavior:

  1. pack build on a nodejs project with yarn.lock file, having a build script.

Expected behavior
It should run the build script

Actual behavior
It doesn't run the build script

@shaikatzz shaikatzz added the kind/bug Something isn't working label Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant