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

Install production dependencies with engines check in CI jobs #331

Closed
wants to merge 1 commit into from

Conversation

lencioni
Copy link
Contributor

We recently updated glob to v11, which does not support Node 18, and so have to downgrade it and publish another release:

#330

I want to make sure we catch this in CI next time and I think this might do the trick.

@lencioni
Copy link
Contributor Author

Hoping to see this fail first, and then pass once I rebase.

We recently updated glob to v11, which does not support Node 18, and so
have to downgrade it and publish another release:

#330

I want to make sure we catch this in CI next time and I think this might
do the trick.
@lencioni
Copy link
Contributor Author

This correctly failed on Node 18 when glob was at v11: https://github.com/happo/happo.io/actions/runs/13378589306/job/37362894335?pr=331#step:4:10

@lencioni
Copy link
Contributor Author

It seems that yarn will check engines on dev deps when the production flag is set, so I don't think we can actually do it like this. yarnpkg/yarn#6966

Closing for now, will re-open if I get another idea.

@lencioni lencioni closed this Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant