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

fix: read the correct node version from the package.json #244

Merged
merged 1 commit into from
Dec 25, 2023
Merged

fix: read the correct node version from the package.json #244

merged 1 commit into from
Dec 25, 2023

Conversation

jnsgruk
Copy link
Member

@jnsgruk jnsgruk commented Dec 15, 2023

The latest version bump (v6.42.0) included an update to the Node version specified. Signal Desktop is quite specific about the version of node used, and previously this was hardcoded. This led to a failure in CI.

This change fetches the package.json for the version being built and reads the expected node version so that it can be installed with asdf, and should prevent similar failures in the future.

Copy link
Member

@merlijn-sebrechts merlijn-sebrechts left a comment

Choose a reason for hiding this comment

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

LGTM!

@merlijn-sebrechts merlijn-sebrechts merged commit 99fe892 into snapcrafters:candidate Dec 25, 2023
1 check passed
@jnsgruk jnsgruk deleted the computed-node-version branch December 26, 2023 08:48
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