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

Re-bundle JS in a fresh environment #2710

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

nickcharlton
Copy link
Member

npm/yarn is non-deterministic when it comes to bundling dependencies, and so you can very easily end up with a dependency drift (especially when you're being strict about what you build elsewhere).

It turns out that this is what #2680 was showing. If we clean the whole environment (git clean -fdx), then run setup and the other steps that the Action runs through, we get the same result.

`npm`/`yarn` is non-deterministic when it comes to bundling
dependencies, and so you can very easily end up with a dependency drift
(especially when you're being strict about what you build elsewhere).

It turns out that this is what #2680 was showing. If we clean the whole
environment (`git clean -fdx`), then run `setup` and the other steps
that the Action runs through, we get the same result.
@nickcharlton nickcharlton merged commit df639c1 into main Nov 19, 2024
20 checks passed
@nickcharlton nickcharlton deleted the nc-rebundle-js-in-fresh-environment branch November 19, 2024 11:42
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