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

Use correct node version in clean build #2168

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Conversation

nmattia
Copy link
Collaborator

@nmattia nmattia commented Jan 4, 2024

The clean build was using whatever node version was in the environment. This updates the check-build action to use the setup-node action, so that it uses the expected node version.

A version check is added to the build script. On CI, this aborts the build. Not on CI, this issues a warning.

The clean build reproducibility checks are also re-enabled. The reproducibility issues were caused by differences in the compressed assets. It looks like node statically links zlib, and it looks like the zlib version from the GHA environment's node differs from the one in our docker setup (set through .node-version).

The clean build was using whatever node version was in the environment.
This updates the `check-build` action to use the `setup-node` action, so
that it uses the expected node version.

A version check is added to the build script. On CI, this aborts the
build. Not on CI, this issues a warning.

The clean build reproducibility checks are also re-enabled. The
reproducibility issues were caused by differences in the compressed
assets. It looks like node statically links zlib, and it looks like the
zlib version from the GHA environment's node differs from the one in our
docker setup (set through `.node-version`).
@nmattia nmattia marked this pull request as ready for review January 4, 2024 15:53
Copy link
Member

@frederikrothenberger frederikrothenberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@nmattia nmattia added this pull request to the merge queue Jan 4, 2024
Merged via the queue into main with commit 945081c Jan 4, 2024
57 checks passed
@nmattia nmattia deleted the nm-use-correct-node branch January 4, 2024 16:12
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.

2 participants